splunk_detect_anomalies
Detect statistical outliers in Splunk time-series data using standard deviation, with configurable index, sourcetype, metric field, and aggregation interval.
Instructions
Execute statistical anomaly detection (outliers based on standard deviation) over time series.
Args: index: Index to inspect. sourcetype: Optional sourcetype. field_to_analyze: Metric or field (default 'count'). time_span: Aggregation bucket (default '1h').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| time_span | No | 1h | |
| sourcetype | No | ||
| field_to_analyze | No | count |
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 |