Dynamic threshold alert settings

Review detection methods, advanced settings, default multipliers, and troubleshooting guidance for dynamic threshold alerts.

Detection methods

The detection method decides how the model determines whether a point is outside the normal band. The default method works for most alerts. You can change it in Advanced settings.

Method Question it answers Best for
Quantile (default) Is the value outside the forecast's confidence band? Alerts where you want to tune the width of the band. You control the band with the upper quantile, the lower quantile, and the multiplier.
IQR Residual How big is the error, compared to the series' typical variability? Alerts that cover many data entities of different sizes, where one setting needs to work for all of them.

Quantile method

For each time point, the model forecasts a median, which is the typical expected value, and quantiles. A quantile is a value that a given percentage of the forecast falls below. For example, 80 percent of the forecast values fall below the 80th percentile. The upper quantile and lower quantile settings select the percentiles, which are the 80th and 20th by default. The multiplier stretches the distance from the median to these quantiles to set the edges of the normal band:

  • Upper band = median + multiplier × (upper quantile value − median)
  • Lower band = median − multiplier × (median − lower quantile value)

For example, suppose the forecast median is 100 MB, the upper quantile value is 110 MB, the lower quantile value is 90 MB, and the multiplier is 5. The normal band is 50 MB to 150 MB. An actual value of 160 MB is outside the band, and an actual value of 120 MB is inside it.

IQR Residual method

The IQR Residual method measures how far a value is from the forecast, relative to how much the metric normally varies. The method measures this variability with the interquartile range (IQR). The IQR is the difference between the 75th and 25th percentiles of the forecast, so it covers the middle half of the values that the model expects. A steady metric has a small IQR, and a variable metric has a large IQR. For each time point, the method calculates a score:

  • Score = |actual value − forecast median value| ÷ IQR

A point is outside the normal band when its score is higher than the multiplier. For example, suppose the multiplier is 3, the forecast is 100 MB, and the IQR is 10 MB. An actual value of 135 MB has a score of 35 ÷ 10 = 3.5, so it is outside the band. A larger data entity with a forecast of 10,000 MB and an IQR of 1,000 MB also scores 3.5 for an actual value of 13,500 MB. Because the score is relative to the variability of each data entity, the same multiplier works for data entities of different sizes.

For more information about the model and the methods, see Cisco Deep Time Series Model.

Settings for both methods

Setting Description Default Valid values
Method How the model determines whether a point is outside the normal band. Quantile Quantile, IQR Residual
Confidence interval Width of the forecast's range of likely values. A higher value gives a wider band and fewer alerts. 60 20, 40, 50, 60, 80, 90, 98
Multiplier Scales the width of the anomaly band. A higher value widens the band and reduces alerts. A lower value detects smaller deviations. Set by the sensitivity. See Default multiplier by sensitivity. A positive number
On span Number of consecutive points that the model looks at to decide whether an anomaly has started. 3 A positive whole number
On ratio Fraction of the on span points that must be outside the normal band for an anomaly to start. 0.5 Greater than 0 and at most 1
Off span Number of consecutive points that the model looks at to decide whether an anomaly has ended. 3 A positive whole number
Off ratio Fraction of the off span points that must be inside the normal band for an anomaly to end. 1 Greater than 0 and at most 1

Settings for the Quantile method only

Setting Description Default Valid values
Upper quantile Upper percentile boundary of the normal band. 0.8 0.6, 0.7, 0.8, 0.9, 0.95, 0.99
Lower quantile Lower percentile boundary of the normal band. 0.2 0.01, 0.05, 0.1, 0.2, 0.25, 0.3, 0.4

Default multiplier by sensitivity

Sensitivity Quantile IQR Residual
Low 8 5
Medium 5 3
High 2 1.5

For the full parameter reference, see Cisco Deep Time Series Model.

Troubleshooting

Symptom Cause Resolution
The message "Dynamic thresholds requires AI Toolkit 6.1.0 or above" appears, and you can't continue to the next step. The AI Toolkit is not installed, is inactive, or is older than version 6.1.0. Install or upgrade the AI Toolkit, and then reload the Ingest monitoring app. Or, switch Threshold type to Static thresholds.
"Checking AI Toolkit availability…" does not go away. The version check did not finish. The app checks once when it loads. Reload the app. If the message continues, the AI Toolkit is treated as unavailable.
The preview shows "No data monitored yet by Ingest Monitoring for the selected data entities." There are no summary metrics for the selected data entities in the last 14 days. Check the filters and the data entities that you grouped by, and confirm that Ingest monitoring is monitoring the data.
The preview shows "An error occurred while running the preview." The preview search failed. Try again.