AGENT SKILL

splunk

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

License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

01 前言 Front Matter

name
splunk
metadata
{ "clawdbot": { "emoji": "?", "requires": { "env": [ "SPLUNK_URL", "SPLUNK_TOKEN" ] } } }
description
Search and analyze machine data via Splunk API. Run searches and manage dashboards.

02 资源文件 1

03 SKILL.md 正文

Splunk

Data analytics and SIEM.

Environment

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

Run Search

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

Get Search Results

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

List Saved Searches

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

Links

04 同仓库更多 Skills