Tracecat
Book a demo

Splunk integration

Search events, send HEC events, and manage KV store collections.

SIEM / datalake
19 actions
tools.splunk
Also available as an MCP server. Connect agents to the Splunk MCP server.

How it works

Each Splunk action is a YAML template or Python function in Tracecat's open-source registry, under tools.splunk. Add an action as a step in a workflow, or give it to an agent as a tool.

Credentials

Add these in Tracecat before running the actions. How credentials work

  • Secret splunk with SPLUNK_API_KEY
  • Secret splunk_hec with SPLUNK_HEC_TOKEN

Actions

Missing an integration? Write your own actions in YAML or Python in a custom registry and sync them from your Git repository.

  • Add fields to collection

    Add field definitions to a KV Store collection in Splunk.

  • Batch save KV entries

    Insert or update multiple entries in a Splunk KV Store collection in a single request. If an entry includes a _key that matches an existing document, it is updated; otherwise a new document is created. Processing stops on the first failure.

  • Create KV collection

    Create a new KV Store collection in Splunk.

  • Create KV entry

    Create a new entry in a Splunk KV Store collection.

  • Delete KV collection

    Delete a KV Store collection from Splunk.

  • Delete KV entry

    Delete an entry from a KV Store collection in Splunk.

  • Discover fields

    Discover fields in Splunk data using the fieldsummary command with statistics and sample values.

  • Get KV collection

    Get configuration details for a specific KV Store collection from Splunk.

  • Get KV entry

    Get a specific entry from a KV Store collection in Splunk.

  • List data models

    List all data models on the Splunk server using native Splunk search.

  • List field extractions

    List all configured field extraction rules using a simple Splunk query.

  • List indexes

    List all indexes on the Splunk server using native Splunk search.

  • List KV collections

    List all KV Store collections in Splunk.

  • List KV entries

    List entries in a KV Store collection from Splunk.

  • List sourcetypes

    List all defined sourcetypes on the Splunk server.

  • Search events

    Search events from Splunk.

  • Submit HEC event

    Submit an event to Splunk using the HTTP Event Collector (HEC). Uses HEC token authentication.

  • Update KV entry

    Update an existing entry in a KV Store collection in Splunk.

  • Upload CSV to KV Collection

    Download a CSV file and upload its rows to a Splunk KV Store collection with create, append, or override modes.

Automate Splunk with Tracecat

Open-source workflows and agents for security teams.