detect_anomalies
Detect unusual patterns and outliers in security time-series data from Splunk to identify potential threats. Uses statistical methods to compare against normal behavior.
Instructions
Detect statistical anomalies in time-series data.
Uses statistical methods to identify unusual patterns, spikes, or outliers in security data that may indicate threats.
Args: index: Splunk index to analyze field: Field to analyze for anomalies (e.g., "bytes_out", "auth_failures") timeframe: Time range for analysis sensitivity: "low", "medium", or "high" (affects threshold) method: Detection method ("statistical", "ml", or "baseline")
Returns: Dictionary containing: - anomalies: List of detected anomalous periods - baseline: Normal behavior metrics - confidence: Detection confidence score - recommendations: Suggested actions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | ||
| index | Yes | ||
| method | No | statistical | |
| timeframe | No | -7d | |
| sensitivity | No | medium |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |