splunk_get_ingestion_lag
Measure pipeline processing lag by comparing event occurrence timestamps to indexing times for a specified index, with optional sourcetype filtering and sample count.
Instructions
Measure pipeline processing lag between event occurrence timestamp and indexing time.
Args: index: Index to evaluate. sourcetype: Optional sourcetype filter. count: Sample size of events.
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": {
"index": "<index>"
},
"name": "splunk_get_ingestion_lag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| index | Yes | ||
| sourcetype | 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 |