Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Add alert creation delay in Stack rules #178461

Merged
merged 2 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/user/alerting/create-and-manage-rules.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Each rule type provides its own way of defining the conditions to detect, but an
For example, in an {es} query rule, you specify an index, a query, and a threshold, which uses a metric aggregation operation (`count`, `average`, `max`, `min`, or `sum`):

[role="screenshot"]
image::images/es-query-rule-conditions.png[UI for defining rule conditions in an {es} query rule,500]
image::images/rule-types-es-query-conditions.png[UI for defining rule conditions in an {es} query rule,500]
// NOTE: This is an autogenerated screenshot. Do not edit it directly.

All rules must have a check interval, which defines how often to evaluate the rule conditions. Checks are queued; they run as close to the defined value as capacity allows.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file modified docs/user/alerting/images/rule-types-es-query-conditions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion docs/user/alerting/rule-types/es-query.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ This option is not available when you use a grouping field.
Generally this value should be set to a value that is smaller than the time window, to avoid gaps in
detection.

7. Select a scope value, which affects the <<kibana-feature-privileges,{kib} feature privileges>> that are required to access the rule.
7. In the advanced options, you can change the number of consecutive runs that must meet the rule conditions before an alert occurs.
The default value is `1`.

8. Select a scope value, which affects the <<kibana-feature-privileges,{kib} feature privileges>> that are required to access the rule.
For example when it's set to `Stack Rules`, you must have the appropriate *Management > {stack-rules-feature}* feature privileges to view or edit the rule.

[float]
Expand Down
5 changes: 4 additions & 1 deletion docs/user/alerting/rule-types/geo-rule-types.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ image::user/alerting/images/alert-types-tracking-containment-conditions.png[Crea
Boundaries data is expected to be static (not updating).
Boundaries are collected once when the rule is created and anytime after when boundary configuration is modified.

. Set the check interval, which defines how often to evaluate the rule conditions.
. Set the check interval, which defines how often to evaluate the rule conditions.

. In the advanced options, you can change the number of consecutive runs that must meet the rule conditions before an alert occurs.
The default value is `1`.

Entity locations are queried to determine whether they are contained within any monitored boundaries.
Entity data should be somewhat "real time", meaning the dates of new documents aren't older than the current time minus the amount of the interval.
Expand Down
3 changes: 3 additions & 0 deletions docs/user/alerting/rule-types/index-threshold.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ It determines how far back to search for documents and uses the time field set i
7. Set the check interval, which defines how often to evaluate the rule conditions.
Generally this value should be set to a value that is smaller than the time window, to avoid gaps in detection.

8. In the advanced options, you can change the number of consecutive runs that must meet the rule conditions before an alert occurs.
The default value is `1`.

If data is available and all clauses have been defined, a preview chart will render the threshold value and display a line chart showing the value for the last 30 intervals.
This can provide an indication of recent values and their proximity to the threshold, and help you tune the clauses.

Expand Down