Agent skill

splunk

Search and analyze machine data via Splunk API. Run searches and manage dashboards.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/splunk

Metadata

Additional technical details for this skill

clawdbot
{
    "emoji": "\ud83d\udcca",
    "requires": {
        "env": [
            "SPLUNK_URL",
            "SPLUNK_TOKEN"
        ]
    }
}

SKILL.md

Splunk

Data analytics and SIEM.

Environment

bash
export SPLUNK_URL="https://splunk.example.com:8089"
export SPLUNK_TOKEN="xxxxxxxxxx"

Run Search

bash
curl -X POST "$SPLUNK_URL/services/search/jobs" \
  -H "Authorization: Bearer $SPLUNK_TOKEN" \
  -d "search=search index=main | head 10"

Get Search Results

bash
curl "$SPLUNK_URL/services/search/jobs/{sid}/results?output_mode=json" \
  -H "Authorization: Bearer $SPLUNK_TOKEN"

List Saved Searches

bash
curl "$SPLUNK_URL/services/saved/searches?output_mode=json" \
  -H "Authorization: Bearer $SPLUNK_TOKEN"

Links

Didn't find tool you were looking for?

Be as detailed as possible for better results