Create a dynamic threshold alert
Configure an alert to detect sustained metric deviations from recent history.
Before you create a dynamic threshold alert, confirm the following:
- Your deployment is Splunk Cloud Platform.
- The Ingest monitoring app is version 1.5.0 or higher.
- The Splunk AI Toolkit is installed and enabled, and its version is 6.1.0 or higher. For more information, see Install the AI Toolkit.
- Your role is admin, sc_admin, or data_management_admin.
- Ingest monitoring is monitoring the data that you want to alert on. The preview and the alert use the last 14 days of summary metrics.
If the AI Toolkit is not installed, or is lower than version 6.1.0, you can still select Dynamic thresholds, but the condition settings are unavailable and you can't continue to the next step.
To use dynamic thresholds in an alert, select Dynamic thresholds as the threshold type when you create the alert. For more information about how dynamic thresholds work, see Dynamic threshold alerts. For advanced settings, see Dynamic threshold alert settings.
- In the Ingest monitoring app, select Alerts, and then select Create alert.
- Select the Data volume, Event count, or High latency template.
- On the Alert details step, enter a name, select the data entities to group by, and add filters to limit the alert to the indexes, source types, or hosts that you want to monitor. For the High latency template, also select the latency metric. Group by only the fields that you need, because the alert evaluates each unique combination separately.
- Select Next.
- On the Trigger rules step, for Threshold type, select Dynamic thresholds. If AI Toolkit version 6.1.0 or higher is available, Dynamic thresholds is already selected when you reach this step.
- For Alert direction, select Above, Below, or Above or below. The default is Above or below.
- For Detection sensitivity, select Low, Medium, or High. Start with Medium.
- Optional: Expand Advanced settings to change the detection method or other settings. For more information, see Dynamic threshold alert settings.
- Review the preview. The preview runs the detection against the last 14 days of your data, so you can review how the alert behaves against recent data.
- In Preview series, select a series. Each row is one data entity.
- Review the chart. It shows the actual values, the upper and lower bounds of the normal band, and the anomalous points in red.
- Switch between Last 7 days and Last 14 days to look at different periods.
- If the preview shows more anomalies than you want, lower the sensitivity. If it misses a change that you consider significant, raise the sensitivity.
- In the schedule settings, select how often the alert runs: Every 15 minutes, Every 30 minutes, Every hour, or Every day. The schedule also sets the detection window. Then set the throttling options.
- Select Next, and then select the alert actions.
- On the Review step, check the summary, and then select Create.
The alert uses dynamic thresholds to detect sustained deviations from the metric's recent history.
You can switch the threshold type of an alert at any time. The settings that both types share, such as the name, filters, schedule, and actions, are kept.
When a dynamic threshold alert detects an anomaly, review it on the Triggered alerts tab.