splunk_search_explain
Validate SPL query structure and estimate cost while analyzing risk and performance anti-patterns before execution, with an optional earliest-time bound.
Instructions
Validate SPL structure, analyze risk, performance anti-patterns, and cost estimation.
Args: spl: SPL query to analyze. earliest_time: Optional earliest time bound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spl | Yes | ||
| earliest_time | No |
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 |