Skip to content

Commit 422679f

Browse files
szabostevelcawl
andauthored
[DOCS] Adds anomaly detection rule advanced settings to docs (elastic#72072) (elastic#72202)
Co-authored-by: Lisa Cawley <[email protected]>
1 parent ffe010f commit 422679f

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

docs/reference/ml/anomaly-detection/ml-configuring-alerts.asciidoc

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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

2524
Specify the time interval for the rule to check detected anomalies. It is
2625
recommended 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
5857
false positive. If you want to get notified only about anomalies of fully
5958
processed 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+
6170
You can also test the configured conditions against your existing data and check
6271
the sample results by providing a valid interval for your data. The generated
6372
preview contains the number of potentially created alerts during the relative
-3.18 KB
Loading

0 commit comments

Comments
 (0)