@@ -16,11 +16,10 @@ an email. To learn more about {kib} {alert-features}, refer to
1616[[creating-anomaly-alert-rules]]
1717== Creating a rule
1818
19- You can create {ml} rules in the {anomaly-job} wizard after
20- you start the job, from the job list, or under **{stack-manage-app} >
21- {alerts-ui}**. On the *Create rule* window, select *{anomaly-detect-cap} alert*
22- under the {ml} section, then give a name to the rule and optionally provide
23- tags.
19+ You can create {ml} rules in the {anomaly-job} wizard after you start the job,
20+ from the job list, or under **{stack-manage-app} > {alerts-ui}**. On the *Create
21+ rule* window, select *{anomaly-detect-cap} alert* under the {ml} section, then
22+ give a name to the rule and optionally provide tags.
2423
2524Specify the time interval for the rule to check detected anomalies. It is
2625recommended to select an interval that is close to the bucket span of the
@@ -58,6 +57,16 @@ want to be notified earlier about a potential anomaly even if it might be a
5857false positive. If you want to get notified only about anomalies of fully
5958processed buckets, do not include interim results.
6059
60+ You can also configure advanced settings. _Lookback interval_ sets an interval
61+ that is used to query previous anomalies during each condition check. Its value
62+ is derived from the bucket span of the job and the query delay of the {dfeed} by
63+ default. It is not recommended to set the lookback interval lower than the
64+ default value as it might result in missed anomalies. _Number of latest buckets_
65+ sets how many buckets to check to obtain the highest anomaly from all the
66+ anomalies that are found during the _Lookback interval_. An alert is created
67+ based on the anomaly with the highest anomaly score from the most anomalous
68+ bucket.
69+
6170You can also test the configured conditions against your existing data and check
6271the sample results by providing a valid interval for your data. The generated
6372preview contains the number of potentially created alerts during the relative
0 commit comments