Exports large Splunk result sets (>50K rows) via streaming, with CSV/JSON/XML output, time range filters, field selection, and export estimation. Supports job-based export for completed searches.
How this skill is triggered — by the user, by Claude, or both
Slash command
/splunk-assistant-skills:splunk-exportThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
High-volume streaming data extraction for Splunk.
High-volume streaming data extraction for Splunk.
Export large result sets (>50,000 rows) efficiently using streaming.
| Operation | Risk | Notes |
|---|---|---|
| Export results | - | Read-only |
| Export from job | - | Read-only |
| Estimate size | - | Read-only |
| Command | Description |
|---|---|
export estimate | Estimate export size |
export job | Export from existing job |
export results | Export results to file |
export stream | Stream large exports efficiently |
| Option | Commands | Description |
|---|---|---|
-o, --output-file | job, results, stream | Output file path (required) |
-f, --format | job, results, stream | Export format (csv, json, json_rows, xml) |
-e, --earliest | estimate, results, stream | Earliest time |
-l, --latest | estimate, results, stream | Latest time |
-c, --count | job, stream | Maximum results to export |
--fields | results, stream | Comma-separated fields to export |
--progress | results | Show progress |
# Export to CSV (using short flags)
splunk-as export results "index=main | head 1000" -o results.csv
# Export to JSON with specific fields
splunk-as export results "index=main" -o data.json -f json --fields host,status
# Export with progress indicator
splunk-as export results "index=main | stats count by host" -o report.csv --progress
# Export results from a completed search job
splunk-as export job 1703779200.12345 -o job_results.csv
# Export with count limit
splunk-as export job 1703779200.12345 -o results.csv -c 10000
# Export as JSON array (json_rows format)
splunk-as export job 1703779200.12345 -o data.json -f json_rows
# Stream large export efficiently
splunk-as export stream "index=main | head 1000000" -o large_results.csv
# Stream with count limit
splunk-as export stream "index=main" -o results.csv -c 50000
# Stream with specific fields
splunk-as export stream "index=main" -o data.json -f json_rows --fields host,status
# Preview count before export
splunk-as export estimate "index=main | stats count by host" -e -7d
# Output: Estimated 1,234,567 results
| Endpoint | Description |
|---|---|
GET /services/search/v2/jobs/{sid}/results | Stream results |
GET /services/search/v2/jobs/{sid}/events | Stream raw events |
| Parameter | Description |
|---|---|
count=0 | Return all results (no limit) |
output_mode | csv, json, xml, raw |
field_list | Comma-separated fields |
npx claudepluginhub grandcamel/splunk-assistant-skills --plugin splunk-assistant-skillsExecutes SPL queries against Splunk in oneshot, normal (async), and blocking modes with CLI for search, results polling, pagination, and validation. Output to JSON or CSV.
Wraps SentinelOne Singularity Data Lake (SDL) API with a Python client and CLI for querying data lake and managing parsers, dashboards, alerts, lookups, and datatables.
Exports PostHog events, persons, or sessions on demand and downloads the resulting Parquet or JSONLines files via MCP and REST.