> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-commands-guide/analytics-commands.md).

# Analytics Commands

* [getCmdAnalyticsPrevalence](#getcmdanalyticsprevalence)
* [getDomainAnalyticsPrevalence](#getdomainanalyticsprevalence)
* [getHashAnalyticsPrevalence](#gethashanalyticsprevalence)
* [getIPAnalyticsPrevalence](#getipanalyticsprevalence)
* [getProcessAnalyticsPrevalence](#getprocessanalyticsprevalence)
* [getRegistryAnalyticsPrevalence](#getregistryanalyticsprevalence)

#### getCmdAnalyticsPrevalence

***

Gets the prevalence of one or more process command lines.

<details>

<summary>Arguments</summary>

| Argument Name          | Description                                      | Required |
| ---------------------- | ------------------------------------------------ | -------- |
| process\_command\_line | A comma-separated list of process command lines. | Required |

</details>

<details>

<summary>Outputs</summary>

**Core.AnalyticsPrevalence.Cmd.process\_command\_line** *string*

The process command line.

**Core.AnalyticsPrevalence.Cmd.value** *boolean*

Whether the item is prevalent.

**Core.AnalyticsPrevalence.Cmd.data.global\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Cmd.data.global\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Cmd.data.local\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Cmd.data.local\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Cmd.data.prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Cmd.data.prevalence.description** *string*

A description of the prevalence metric.

</details>

#### getDomainAnalyticsPrevalence

***

Gets the prevalence of one or more domains.

<details>

<summary>Arguments</summary>

| Argument Name | Description                             | Required |
| ------------- | --------------------------------------- | -------- |
| domain\_name  | A comma-separated list of domain names. | Required |

</details>

<details>

<summary>Outputs</summary>

**Core.AnalyticsPrevalence.Domain.domain\_name** *string*

The domain name.

**Core.AnalyticsPrevalence.Domain.value** *boolean*

Whether the item is prevalent.

**Core.AnalyticsPrevalence.Domain.data.global\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Domain.data.global\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Domain.data.local\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Domain.data.local\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Domain.data.prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Domain.data.prevalence.description** *string*

A description of the prevalence metric.

</details>

#### getHashAnalyticsPrevalence

***

Gets the prevalence of one or more files, identified by their SHA256 hashes.

<details>

<summary>Arguments</summary>

| Argument Name | Description                              | Required |
| ------------- | ---------------------------------------- | -------- |
| sha256        | A comma-separated list of SHA256 hashes. | Required |

</details>

<details>

<summary>Outputs</summary>

**Core.AnalyticsPrevalence.Hash.sha256** *string*

The SHA256 hash.

**Core.AnalyticsPrevalence.Hash.value** *boolean*

Whether the item is prevalent.

**Core.AnalyticsPrevalence.Hash.data.global\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Hash.data.global\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Hash.data.local\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Hash.data.local\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Hash.data.prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Hash.data.prevalence.description** *string*

A description of the prevalence metric.

</details>

#### getIPAnalyticsPrevalence

***

Gets the prevalence of one or more IP addresses.

<details>

<summary>Arguments</summary>

| Argument Name | Description                             | Required |
| ------------- | --------------------------------------- | -------- |
| ip\_address   | A comma-separated list of IP addresses. | Required |

</details>

<details>

<summary>Outputs</summary>

**Core.AnalyticsPrevalence.Ip.ip\_address** *string*

The IP address.

**Core.AnalyticsPrevalence.Ip.value** *boolean*

Whether the item is prevalent.

**Core.AnalyticsPrevalence.Ip.data.global\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Ip.data.global\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Ip.data.local\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Ip.data.local\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Ip.data.prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Ip.data.prevalence.description** *string*

A description of the prevalence metric.

</details>

#### getProcessAnalyticsPrevalence

***

Gets the prevalence of one or more processes, identified by their process names.

<details>

<summary>Arguments</summary>

| Argument Name | Description                              | Required |
| ------------- | ---------------------------------------- | -------- |
| process\_name | A comma-separated list of process names. | Required |

</details>

<details>

<summary>Outputs</summary>

**Core.AnalyticsPrevalence.Process.process\_name** *string*

The process name.

**Core.AnalyticsPrevalence.Process.value** *boolean*

Whether the item is prevalent.

**Core.AnalyticsPrevalence.Process.data.global\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Process.data.global\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Process.data.local\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Process.data.local\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Process.data.prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Process.data.prevalence.description** *string*

A description of the prevalence metric.

</details>

#### getRegistryAnalyticsPrevalence

***

Gets the prevalence of one or more registry paths, identified by paired key and value names.

<details>

<summary>Arguments</summary>

| Argument Name | Description                                                                           | Required |
| ------------- | ------------------------------------------------------------------------------------- | -------- |
| key\_name     | A comma-separated list of registry key names. Must be the same length as value\_name. | Required |
| value\_name   | A comma-separated list of registry value names. Must be the same length as key\_name. | Required |

</details>

<details>

<summary>Outputs</summary>

**Core.AnalyticsPrevalence.Registry.key\_name** *string*

The registry key name.

**Core.AnalyticsPrevalence.Registry.value\_name** *string*

The registry value name.

**Core.AnalyticsPrevalence.Registry.value** *boolean*

Whether the item is prevalent.

**Core.AnalyticsPrevalence.Registry.data.global\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Registry.data.global\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Registry.data.local\_prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Registry.data.local\_prevalence.description** *string*

A description of the prevalence metric.

**Core.AnalyticsPrevalence.Registry.data.prevalence.value** *unknown*

The prevalence value.

**Core.AnalyticsPrevalence.Registry.data.prevalence.description** *string*

A description of the prevalence metric.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-commands-guide/analytics-commands.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
