splunk_export_search_results
Export Splunk search results as JSON, CSV, or raw events to save query output for analysis and reporting.
Instructions
Export search results in structured format (JSON, CSV, or raw events).
Args: spl: SPL search query. output_format: 'json', 'csv', or 'raw'. earliest_time: Optional earliest time. count: Maximum count of events to export.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spl | Yes | ||
| count | No | ||
| earliest_time | No | ||
| output_format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Output payload or results | |
| error | No | Error message if execution failed | |
| success | No | Whether the tool execution succeeded | |
| metadata | No | Execution timing, pagination and environment details | |
| warnings | No | Operational warnings or notices | |
| request_id | No | Correlation ID for audit trail and observability |