search_splunk
Run SPL queries against Splunk logs to retrieve events. Set time range and limit results for focused analysis.
Instructions
Search Splunk logs with the given query.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_splunk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| earliest_time | No | -1h | |
| latest_time | No | now | |
| max_count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |