Splunk

From Arvo-AI/aurora · View interactive version

Splunk is an AI agent skill from the GitHub repository Arvo-AI/aurora. Splunk log analytics integration for searching logs, discovering indexes, and querying sourcetypes via SPL during RCA investigations

How to use this skill

Skill file

Splunk Integration

Overview

Splunk integration for querying log data during Root Cause Analysis. Splunk is a REMOTE service -- do NOT search the local filesystem for Splunk files. Use ONLY the Splunk API tools listed below.

Instructions

Several Splunk instances

Each connected Splunk is its own account, identified by host:port (for example prod.splunkcloud.com:8089). A role or team may be allowed to use one instance and not another. Tools only see instances this user can access.

Tool Usage (use in this order)

  1. list_splunk_indexes() -- Discover available indexes. Always call first to understand what data is available.
  2. list_splunk_sourcetypes(index='X') -- Find log types within a specific index.
  3. search_splunk(query='SPL query', earliest_time='-1h') -- Execute SPL queries to search logs.

Common SPL Patterns

SPL Tips

RCA Investigation Workflow

Step 1 -- Discover data:

list_splunk_indexes() -- find which indexes contain relevant logs.

Step 2 -- Identify log types:

list_splunk_sourcetypes(index='main') -- understand what sourcetypes exist in the target index.

Step 3 -- Search for errors:

search_splunk(query='index=main error OR exception | stats count by host sourcetype', earliest_time='-1h')

Step 4 -- Narrow to specific timeframe:

Use earliest_time and latest_time to focus on the alert window. Example: earliest_time='-30m'.

Step 5 -- Correlate with infrastructure:

After Splunk analysis, correlate findings with cloud resources if cloud providers are connected.

Important Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.