Use Tocharian AI
For people who ask questions in Tocharian AI.
This guide shows how to ask Tocharian AI about your data from anywhere in Kibana, check the evidence behind every answer, keep and reuse conversations, run longer investigations in the background, and confirm the changes it proposes. Each section is one task; read the one you need.
If Tocharian AI is not installed yet, start with Get started. The pictures show Kibana 9.5. Kibana 8.x looks slightly different and works the same.
What you need
Section titled “What you need”- The Tocharian AI feature privilege
readin your Kibana role. An administrator sets it in role management. Without it, the app, the header button and the other entry points do not appear. - Read access to the data you ask about. Every query runs as you, so you only get answers from data your Elasticsearch and Kibana privileges allow.
Everything in this guide works in every edition. With a Tocharian AI license, sensitive values are also masked before the model sees them; see Editions.
Open Tocharian AI
Section titled “Open Tocharian AI”Tocharian AI has five entry points. All of them open the same assistant; they differ in what they pass along about the page.
| Entry point | Where | What it adds to the question |
|---|---|---|
| App | Main menu → Tocharian AI, or http://localhost:5601/app/tocharianAi | Nothing; you name the data in the question |
| Header button | Tocharian AI in the header of every Kibana page | The page you are on: query, time range, filters, what the screen shows |
| Dashboard panel | Panel menu → Ask Tocharian AI | The page, plus the data that panel and the other panels draw |
| Discover document | Open a document → Tocharian AI tab | The page, plus the open document |
| Index Management | Index details → Tocharian AI tab | The dataset profile of that index |
Ask from any page
Section titled “Ask from any page”- Select Tocharian AI in the header. A flyout opens on the right, empty, with Recent conversations below the title Ask your data.
- Notice the Context row above the input: it lists what the flyout took from the page, such as the dashboard, data view and time range.
- Type the question in Ask about this page and press Enter.
To ask without the page, select the cross at the end of the Context row. To move the conversation to the full app, select Continue in Tocharian AI.
Ask about a dashboard panel
Section titled “Ask about a dashboard panel”- Open the panel menu of a panel.
- Select Ask Tocharian AI.
The flyout opens with the panel title already in the input. Complete the question and send it.
Ask about a Discover document
Section titled “Ask about a Discover document”- In Discover, open a document.
- Select the Tocharian AI tab.
The tab shows the dataset’s purpose and, under Fields in this document, the meaning of each field the profile knows. Select Ask Tocharian AI about this document to open the flyout with the document attached.
In the Discover table, the cell actions of a value also offer Ask Tocharian AI; it starts a question with <field> = <value>.
See an index’s profile in Index Management
Section titled “See an index’s profile in Index Management”In Stack Management → Index Management, open an index and select the Tocharian AI tab. It shows the same profile as the data catalog, with Open in data catalog. For a backing index of a data stream, it shows the profile of the whole data stream.
Ask a question and check the evidence
Section titled “Ask a question and check the evidence”- Type the question and press Enter. Shift+Enter starts a new line.
- Watch the steps while it runs, such as Running ES|QL: … and Checking values of <field>. A red mark on a step means that query failed; Tocharian AI usually tries another way.
- Read the answer. Every fact about your data ends with an evidence id such as
[E1]. The badges under the answer list the evidence of this answer with its hit count, for example E1 · 1,284. - Select an evidence id to open it.
The evidence shows:
- Hits, Dataset and Took.
- Executed query (ES|QL) or Executed query (Query DSL): the exact query that ran.
- Automatic fixes and Automatic time range, when Tocharian AI corrected the query or limited its time range.
- Result, Matching documents or Aggregations: what Elasticsearch returned. Result too large; only part of it was kept means the table is cut.
- Copy query, and Open in Discover for ES|QL queries.
A line marked Unsupported is a part of the answer that no query backs; it says why.
Under each answer, a line shows the model calls, queries, time and model used, for example 3 model call(s) · 2 quer(ies) · 14.2s. If an administrator set model prices, the estimated cost is shown too. This is wrong starts your next question with This is wrong: so you can say what to fix.
Good to know:
- Answers are in the language of your question. The app itself is in English.
- From the flyout, queries use the page’s time range. Otherwise, when a dataset has recent data, queries cover the last 90 days unless your question names a time range (an administrator can change the 90 days).
- A query returns at most 500 rows by default (set by an administrator).
- A question has 5 minutes and at most 8 model calls. In the last minute, Tocharian AI stops querying and answers with what it has, saying what it could not determine. For longer work, use a background investigation.
- Stop ends the question and keeps what was found so far.
Choose a working mode
Section titled “Choose a working mode”Next to the Read-only switch, a tag such as Auto: Data analysis shows the working mode. It follows the page: Security pages use Security investigation, Observability pages Observability, Stack Management, Fleet, Machine Learning and Dev Tools Platform operations, everything else Data analysis. Select the tag to pick another mode for your next questions. The mode used is shown above each answer.
See what Tocharian AI sees on a page
Section titled “See what Tocharian AI sees on a page”Before you ask from a page, you can check exactly what the model gets about it.
- Open the flyout with the header button.
- In the Context row, select the inspect icon, What Tocharian AI sees on this page.
A window lists the sections the model receives, after masking and the size limit, for example the screen text, the search state, the chart data and data loaded for the page. The first line tells you how many sections and characters are sent, and how many there were before the size limit. No model is called to show this.
What is read on each Kibana page is listed in Page awareness. Data behind a page is loaded with your own privileges; what you cannot open, Tocharian AI does not see.
Find what changed on a dashboard
Section titled “Find what changed on a dashboard”When you open the flyout on a dashboard, Tocharian AI re-runs the dashboard’s panels with your time range, time zone, query, filters and controls, and looks for spikes, drops, level shifts and changes against the previous period of the same length.
- Open a dashboard, for example [Logs] Web Traffic.
- Select Tocharian AI in the header.
- Wait for Checking the dashboard panels… to finish.
You see either <n> noticeable change(s) on this dashboard with one line per change, or <n> panel(s) checked, no noticeable changes. Select Explain these changes to ask when each change happened, how large it is and what likely caused it.
Limits:
- The check runs only while the conversation is empty, and its result is kept for two minutes for the same dashboard and search state.
- At most 30 panels are checked. Re-run: Lens (form based, including formulas made of plain metrics, and ES|QL), aggregation based visualizations and saved searches. Not re-run, and listed under <n> panel(s) not checked: time shifts, reduced time ranges, per-second normalisation, counter rates and other reference operations, TSVB, Vega, Timelion, maps and Markdown.
- This check is separate from your questions: when you ask about a dashboard, Tocharian AI also reads the data the charts draw on screen.
Show charts in answers
Section titled “Show charts in answers”An answer can include up to four charts. Ask for one directly, by panel title or position, for example Show the panel "<panel title>" of the [Logs] Web Traffic dashboard, or let Tocharian AI add one when it helps.
There are two kinds:
- From dashboard: <title>: a panel of an existing dashboard, loaded by Kibana’s dashboard itself, so it looks and behaves as on the dashboard. Open dashboard opens the dashboard with the same time range.
- Temporary chart, not saved: a Lens chart of an evidence query, labelled chart of evidence <id>, so it shows the same numbers as the answer. Open in Lens opens it in the Lens editor, where you can change and save it.
The time range of a chart is fixed when the answer is written and shown under its title. no data in the default range, showing where the data is means the range was moved to where the data is.
To ask about part of a chart, click a point or drag across a time range. The selection appears under Selected on charts: and goes with every next question until you remove it. Reset range returns the chart to its original range.
Work with conversations
Section titled “Work with conversations”Conversations are private to you and belong to the space you asked them in. An administrator sets how long they are kept (90 days by default).
- In the app: the list on the left shows your conversations, newest first; a clock marks one that is still running. New conversation starts a fresh one. The trash icon deletes a conversation at once, without asking.
- In the flyout: the flyout opens empty with the three most recent conversations. The Conversations menu lists all of them with a search box.
Edit a question and ask again
Section titled “Edit a question and ask again”- Point to one of your questions and select the pencil, Edit and ask again.
- Change the text and press Enter or select Send.
The answers after that question are replaced. Changes you already confirmed stay.
Regenerate the last answer
Section titled “Regenerate the last answer”Select Regenerate under the last answer. It asks the same question again and replaces the answer.
Follow-up questions build on the earlier ones: Tocharian AI keeps the last eight questions and answers of a conversation, with the queries behind them. A conversation runs one question at a time.
Run a background investigation
Section titled “Run a background investigation”A background investigation takes more steps and ends with a structured report. Use it for questions that need several angles, such as the cause of an incident.
- Turn on Background investigation next to the input.
- Type the question and send it.
The flyout shows Running in the background: you can leave this page, you will be notified when it is done. You can go to other Kibana pages. When it finishes, a notification Tocharian AI has finished appears with View result, which opens the report in the flyout on the page you are on.
Good to know:
- Every question runs on the Kibana server, not in your browser: closing the page does not stop it. The notification appears while Kibana is open in your browser; otherwise open the conversation from the list.
- A background investigation has 15 minutes and at most 16 model calls.
- If Kibana restarts during a question, the conversation shows This question was interrupted by a Kibana restart. Select Ask again.
- With several Kibana instances, a question started on another instance shows Running on another Kibana instance; progress refreshes every few seconds.
- Investigations started through the API appear in your conversations with the badge API investigation.
Browse the data catalog and dataset profiles
Section titled “Browse the data catalog and dataset profiles”The data catalog lists every dataset you can read, with its profile: purpose, field meanings, common values, time range and sensitive fields. Tocharian AI reads the profile before it queries a dataset, and creates one the first time a question uses a dataset that has none.
- In the app, select Data catalog.
- Search for a dataset, or select Profile datasets without a profile to profile all of them in the background.
- Select a dataset to open its profile.
The Status column shows Not profiled, OK, <n> field(s) to confirm or <n> type conflict(s). A type conflict means a field has different types in different indices, so aggregations on it may miss data.
In a profile:
- The Source of each field meaning is inferred, ECS, _meta, learned in chat or confirmed. Only confirmed meanings were checked by an administrator.
- Common values show only values your own search can find; document and field level security apply.
- Only unconfirmed filters the fields that still need a check. Rescan profiles the dataset again.
Correct a field meaning
Section titled “Correct a field meaning”- In the field table, select the pencil next to the field.
- Type the meaning and save it.
Your correction is used right away by everyone who queries the dataset. From a user with the read privilege it stays unconfirmed (source learned in chat) until an administrator confirms it with the check icon; an administrator’s own correction is confirmed at once. With Write data view field descriptions on in the settings, confirmed meanings also appear in Discover.
Add knowledge
Section titled “Add knowledge”Knowledge is facts people know that the data does not show, for example status 3 means refunded. Tocharian AI reads it before answering.
- In Data catalog, go to Knowledge. For knowledge about one dataset, use the knowledge section of its profile.
- Under Add knowledge, write one fact in one sentence, up to 500 characters.
- In Applies to, choose a dataset or leave All datasets.
- In Visible to, choose who it applies to, and select Add.
| Visible to | Who may add it | Status |
|---|---|---|
| Only me | Anyone | Confirmed; applies only to your own conversations |
| Users of this space | Administrators (all privilege) | Confirmed |
| Everyone (all spaces) | Administrators (all privilege) | Confirmed |
Tocharian AI can also suggest a fact during a conversation. A Remember this? card appears under the answer:
- Only for me saves it for your own conversations.
- Share saves it for everyone, marked Unconfirmed until an administrator confirms it. Only administrators can share.
- Don’t save discards it.
Values that were masked in the conversation are stored as [masked], never as the real value. You can delete your own knowledge; administrators can delete, edit and confirm any.
Confirm changes in read-write mode
Section titled “Confirm changes in read-write mode”In read-write mode, Tocharian AI can propose changes. Nothing changes until you confirm the card, and every change runs with your own Kibana and Elasticsearch privileges.
Requirements:
- An administrator turned on Allow read-write mode in the settings.
- If the administrator limited read-write mode to some roles, one of those roles.
If the switch is greyed out, point to it: Read-write mode is disabled by an administrator, Read-write mode is not enabled for your role or Read-write mode allows no changes tells you why.
An administrator may also limit what it can change, for example cases only. Changes of other kinds are not proposed.
- Switch from Read-only to Read-write next to the input. Each new conversation starts read-only.
- Ask for the change, for example
Create a dashboard with 404 responses per day and the top 10 URLs from kibana_sample_data_logs. - Review the card. Its title ends with (needs confirmation).
- Select Confirm and create, Confirm or Write, or Cancel.
After confirming, the card shows Created, <n> written or Error with the reason, and Open links to the new object.
What can be changed
Section titled “What can be changed”| Object | Changes | Card |
|---|---|---|
| Dashboards | Create; add, replace or remove panels; time range; controls | Create a dashboard / Change a dashboard, with Preview: each panel was queried just now and the rows each panel returned |
| Cases | Create, comment, update title, description, status, severity, tags and assignees, attach alerts, push to an external system | Create a case, Add a case comment, Update a case, Attach alerts to a case, Push a case to an external system |
| Alerts | Workflow status (open, acknowledged, closed); for security alerts also tags and assignees | Change alerts |
| Alerting rules | Create ES|QL, KQL or Query DSL (Elasticsearch query), index threshold and custom threshold rules, with notifications through existing connectors | Create an alerting rule, with a dry run on the last 24 hours |
| Security detection rules | Create query, EQL, ES|QL, threshold and new terms rules | Create a detection rule, with a dry run on the last 24 hours |
| Rules | Enable, disable, mute, snooze, update, clone, delete | Change a rule |
| Documents | Write documents to an index | Confirm write |
Limits:
- Tocharian AI does not create connectors, because they hold passwords and tokens. Create them in Stack Management → Connectors; pushing a case needs a Jira, ServiceNow, IBM Resilient, Swimlane, TheHive or Webhook-Case connector.
- If someone changed the dashboard after the card was proposed, confirming fails with The dashboard was changed by someone else since this was proposed; ask again.
- Investigations started through the API are always read-only.
Choose a model
Section titled “Choose a model”If an administrator shared more than one model, a menu next to the input lets you pick the model for new questions; the default is marked (default). Your choice is remembered in this browser. With one model, its name is shown instead.
If an administrator set a fallback model and your model fails or times out, the rest of the answer comes from the fallback. The step list shows <model> failed; continuing with the fallback model <model>, and the line under the answer says (fallback model).
Related pages
Section titled “Related pages”- Security and privacy: what is sent to the model and how masking works.
- Page awareness: what is read on each Kibana page.
- Troubleshooting: errors and what to do about them.