> 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-agentix/configure-cortex-agentix/cortex-agentix-data-sources-and-connectors/vendor-specific-data-sources-and-connectors/splunk/splunk-automation-and-collection.md).

# Splunk Automation and Collection

Use Splunk Automation and Collection data for Cortex AgentiX.

{% hint style="warning" %}
**Important**

This connector is only available for tenants that onboarded after July 26, 2026. For tenants that onboarded before this date, use Marketplace to access the standalone integration. For more information, see [Marketplace](/cortex-agentix/configure-cortex-agentix/marketplace.md).
{% endhint %}

Run queries on Splunk servers and fetch events from both Splunk Enterprise Security (ES) and non-ES environments. SplunkPy fetches notable events (for Splunk ES up to 8.1) and SplunkPy v2 fetches Findings and Investigations (for Splunk ES 8.2 and higher), enriching them with Asset, Identity, and Drilldown data and supporting bi-directional mirroring between Splunk and Cortex.

This connector includes the following sub-capabilities (Marketplace integrations link to PAN DEV for more information):

* [SplunkPy](https://xsoar.pan.dev/docs/reference/integrations/splunk-py): Run queries on Splunk and fetch Notable Events (Splunk ES versions up to 8.2). This connector is available with any active Cortex XSIAM, Cortex Cloud Posture Security, or Cortex AgentiX license.
* [SplunkPy v2](https://xsoar.pan.dev/docs/reference/integrations/splunk-py-v2): Run queries on Splunk and fetch Splunk ES Findings and Investigations (Splunk ES 8.2+). This connector is available with any active Cortex XSIAM, Cortex Cloud Posture Security, or Cortex AgentiX license.
* SplunkPyPreRelease: Runs queries on Splunk servers. This connector is available with any active Cortex XSIAM or Cortex AgentiX license.

To configure this connector, follow the steps outlined in the configuration wizard.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-agentix/configure-cortex-agentix/cortex-agentix-data-sources-and-connectors/vendor-specific-data-sources-and-connectors/splunk/splunk-automation-and-collection.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
