> ## Documentation Index
> Fetch the complete documentation index at: https://docs-xcor.paloaltonetworks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Operator capabilities reference

> Reference for the data Cortex XCOR Operator reads, the skills it uses, and the changes it can make.

[Operator](https://docs-xcor.paloaltonetworks.com/navigate/operator) in Palo Alto Networks Cortex XCOR reads
your telemetry and configuration to answer questions, and acts on the resource
you're viewing when you ask it to. Use this reference to determine what it can
read, the skills it applies to specialized tasks, and the changes it can make.

> [!WARNING]
>
> Generative AI features can produce incorrect results, hallucinate data, and deliver
> inaccurate analysis. Use generative AI features with care, and independently verify
> all information produced by generative AI tools before applying it.
>
> Certain prompts, data, or other inputs might produce irrelevant content. Don't rely on
> generative AI features or responses for any uses that exceed their designed scope.

## Data Operator reads

Operator queries your telemetry with the permissions of your account's
[role](https://docs-xcor.paloaltonetworks.com/administer/accounts-teams/teams.md). It can't read data that your account
can't already access.

The following table lists the data Operator reads and examples of how you can
prompt each source:

| Source | What Operator reads | Example prompt |
| - | - | - |
| [Metrics](https://docs-xcor.paloaltonetworks.com/overview/types/metrics.md) | Metric names, labels, label values, and the results of PromQL instant and range queries | Chart the error rate of a service over the last hour |
| [Logs](https://docs-xcor.paloaltonetworks.com/overview/types/logs.md) | Log field names, field values, and the results of logging queries | Find the most common error messages for a service |
| [Traces](https://docs-xcor.paloaltonetworks.com/overview/types/traces.md) | Traces by service and operation, or by trace ID, including full span trees | Retrieve the slowest traces for an endpoint |
| [Change events](https://docs-xcor.paloaltonetworks.com/overview/types/change-events.md) | Change events and their categories, types, sources, and labels | Correlate a latency increase with a deploy |
| [Alerts](https://docs-xcor.paloaltonetworks.com/investigate/alerts/alert-details.md) | Triggered and resolved alerts, filtered by status, severity, monitor, SLO, team, or muting state | Summarize which alerts triggered overnight |
| Configuration resources | Definitions of dashboards, monitors, SLOs, shaping rules, notification policies, muting rules, notifiers, collections, teams, services, derived telemetry, datasets, trace behaviors, and notebooks | Explain what conditions trigger a monitor |
| Entity search | Names, slugs, types, and ownership of dashboards, monitors, SLOs, collections, services, and teams | Find the dashboard that covers a service |
| Documentation | The contents of this documentation | Explain how rollup rules work |
| Your account | Your account and the other accounts in your tenant | Identify who owns a resource |

Operator reads these sources in a sandboxed environment that allows it to
filter and combine results before responding. When you expand a tool call in the
conversation, you see the commands it ran and their output. For more information,
see [Tool calls](https://docs-xcor.paloaltonetworks.com/navigate/operator/interface.md#tool-calls).

## Skills

A *skill* is a set of instructions Operator loads for a specialized task,
such as writing a query in a specific language or investigating a signal.
Operator selects skills on its own based on your prompt. To direct it to a
specific skill, type `/` in the message field and select the skill.

**Table 2: Operator skills**

The following table lists the skills available from the slash command menu:

| Command | Purpose |
| - | - |
| `/investigate` | Explains what changed in a signal and identifies likely causes. Use it for a triggered alert, a monitor, a dashboard panel, an anomalous metric, or any question about why something is happening. |
| `/promql` | Writes and modifies [PromQL](https://docs-xcor.paloaltonetworks.com/investigate/querying/promql) queries. It discovers real metric and label names in your tenant rather than guessing them, and applies the correct function for each metric type. |
| `/logs` | Explores your log data and writes [logging queries](https://docs-xcor.paloaltonetworks.com/investigate/querying/query-logs/query-syntax.md). It discovers log fields and values, and samples raw logs to confirm spelling and casing before building a query. |
| `/events` | Writes queries for [change events](https://docs-xcor.paloaltonetworks.com/overview/concepts/change-events.md). It discovers the categories, types, sources, and labels present in your tenant before filtering. |
| `/dashboarding` | Writes, reviews, and repairs [dashboard](https://docs-xcor.paloaltonetworks.com/observe/dashboards) JSON against the Cortex XCOR dashboard schema, including panels, variables, layouts, and queries. |
| `/joke` | Tells a random observability joke. |

## Changes Operator can make

Operator can change the dashboard or notebook you have open, and can navigate
you to another page. It validates each change before applying it and tells you what
it changed. For dashboards, it stages the changes so you can review and modify them
before saving the updated dashboard.

### Edit the open dashboard

When you're viewing a [dashboard](https://docs-xcor.paloaltonetworks.com/observe/dashboards), Operator can read its
current state, including unsaved edits, and apply changes such as adding a panel
or adjusting a query.

Operator validates its change against the dashboard schema before applying
it. When validation fails, it reports the problem and leaves the dashboard
unchanged.

After a successful change:

* The dashboard switches to edit mode.
* The change is recorded in the dashboard's edit history as
  **Edited dashboard with Operator**, so you can undo it like any manual edit.
* The change isn't saved until you review it and click **Save**.

To start, open a dashboard in edit mode and ask Operator what you want to
change. For example:

Add a panel to this dashboard showing request rate by status code.

Add a panel to this dashboard showing request rate by status code.

### Edit the open notebook

When you have a [notebook](https://docs-xcor.paloaltonetworks.com/navigate/notebooks.md) open, Operator can read its
contents as [Markdown](https://docs-xcor.paloaltonetworks.com/overview/concepts/markdown.md#use-markdown-with-notebooks)
and edit its text, visualization panels, and tables.

Notebook edits are saved automatically, so review them after Operator reports
a change. Notebooks retain their
[version history](https://docs-xcor.paloaltonetworks.com/navigate/notebooks.md#view-version-history), and you can restore
an edited notebook to a previous state.

Operator edits a notebook by matching exact text. When the text it's looking
for appears more than once or doesn't appear at all, rather than editing the wrong
section, it rejects the change and reports why.

### Navigate to a page

Operator can open another page in Cortex XCOR for you, such as a dashboard or an
explorer. It navigates only to valid Cortex XCOR routes
and documentation pages, and reports an error rather than following a link
elsewhere.

## Start an investigation

> [!NOTE]
>
> This feature is in Early Access (EA), and might not be visible in your app. To learn
> more about this program and the features it contains, see the
> [Early access](https://docs-xcor.paloaltonetworks.com/early-access.md) page.

Operator can [start an investigation](https://docs-xcor.paloaltonetworks.com/investigate/investigations/start.md) and monitor its
progress while you work elsewhere. Ask it to investigate an alert, dashboard panel,
or symptom. Before starting one, Operator confirms with you unless your prompt
explicitly requested it. After starting, it links to the investigation and offers
to monitor it. Progress appears as an
[investigation card](https://docs-xcor.paloaltonetworks.com/navigate/operator/interface.md#investigation-cards) in the
conversation.

To start an investigation from Operator, ask it to investigate an alert,
dashboard panel, or symptom. Before starting one, Operator confirms with you
unless your prompt directly requested it. After starting, it links to the
investigation and offers to monitor it.

To start an investigation from a dashboard panel:

1. Hold the pointer over the panel, and then click the
   &#x20;three vertical dots icon.
2. Click **Add to investigation**. When an investigation already exists for that
   panel and time range, click **Show investigation** instead.

Cortex XCOR opens Operator and starts the investigation. Progress
appears as an [investigation card](https://docs-xcor.paloaltonetworks.com/navigate/operator/interface.md#investigation-cards)
in the conversation.

To continue a completed investigation, open its report and click
**Continue investigation**, describe the direction you want to pursue in the
**Look deeper into** field, and then click **Submit**. Cortex XCOR
forks a follow-up investigation and hands it to Operator to monitor.

To share a finished investigation, open it and click **Save as notebook**. See
[Save an investigation](https://docs-xcor.paloaltonetworks.com/navigate/notebooks.md#save-an-investigation).

## Escalate from query generation

[Natural language query generation](https://docs-xcor.paloaltonetworks.com/investigate/querying/natural-language.md)
produces a single query in the field you're editing. When it can't fulfill a
request, its error message includes an **Ask Operator** link.

Click the link to send the same prompt to Operator, which opens in the side
panel and retries the request with its full set of capabilities, including metric
discovery and the `/promql` skill.

## Tenant-specific guidance

Cortex XCOR can configure instructions that Operator applies to every
conversation in your tenant, such as your naming conventions, the services your
teams own, or the dashboards to prefer for a given question. Operator follows
these instructions alongside its built-in behavior.

These instructions don't change your account's permissions or grant access to data
your tenant can't otherwise read. To request them, contact
[Cortex XCOR Support](https://docs-xcor.paloaltonetworks.com/support.md).


## Related topics

- [Operator interface reference](https://docs-xcor.paloaltonetworks.com/navigate/operator/interface.md)
- [Differences between the Prometheus Operator and Chronosphere Collector](https://docs-xcor.paloaltonetworks.com/ingest/metrics-traces/collector/mappings/prometheus/operator-collector.md)
- [Use notebooks to gather related information](https://docs-xcor.paloaltonetworks.com/navigate/notebooks.md)
- [Logging query syntax](https://docs-xcor.paloaltonetworks.com/investigate/querying/query-logs/query-syntax.md)
- [Metrics Explorer](https://docs-xcor.paloaltonetworks.com/investigate/querying/metrics/explorer.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.