run_splunk_query
Execute arbitrary SPL queries on Splunk to fetch search results. Set custom time range and result limits for targeted investigations.
Instructions
Execute arbitrary SPL query (alias for search_splunk, for compatibility with label harvester).
Args: query: The SPL query to execute earliest_time: Start time for the search (default: 24 hours ago) latest_time: End time for the search (default: now) max_results: Maximum number of results to return (default: 100)
Returns: List of search results
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| latest_time | No | now | |
| max_results | No | ||
| earliest_time | No | -24h |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |