Skip to content
2 changes: 1 addition & 1 deletion explore-analyze/alerting/alerts/rule-type-es-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@
: Specify how to calculate the value that is compared to the threshold. The value is calculated by aggregating a numeric field within the time window. The aggregation options are: `count`, `average`, `sum`, `min`, and `max`. When using `count` the document count is used and an aggregation field is not necessary.

Over or Grouped Over
: Specify whether the aggregation is applied over all documents or split into groups using up to four grouping fields. If you choose to use grouping, it’s a [terms](elasticsearch://reference/aggregations/search-aggregations-bucket-terms-aggregation.md) or [multi terms aggregation](elasticsearch://reference/aggregations/search-aggregations-bucket-multi-terms-aggregation.md); an alert will be created for each unique set of values when it meets the condition. To limit the number of alerts on high cardinality fields, you must specify the number of groups to check against the threshold. Only the top groups are checked.

Check notice on line 65 in explore-analyze/alerting/alerts/rule-type-es-query.md

View workflow job for this annotation

GitHub Actions / build / vale

Elastic.Semicolons: Use semicolons judiciously.

Threshold
: Defines a threshold value and a comparison operator (`is above`, `is above or equals`, `is below`, `is below or equals`, or `is between`). The value calculated by the aggregation is compared to this threshold.
: Defines a threshold value and a comparison operator: `is above`, `is above or equals`, `is below`, `is below or equals`, `is between`, or `is not between`. The value calculated by the aggregation is compared to this threshold. When using `is between`, comparison is inclusive of both operators (`max` >= `value` >= `min`), exclusive when using `is not between` (`max` > `value` > `min`).

* {applies_to}`stack: ga 9.2` If you use {{esql}}, specify a time field and how to group alerts.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
: Specify how to calculate the value that is compared to the threshold. The value is calculated by aggregating a numeric field within the time window. The aggregation options are: `count`, `average`, `sum`, `min`, and `max`. When using `count` the document count is used and an aggregation field is not necessary.

Over or Grouped Over
: Specify whether the aggregation is applied over all documents or split into groups using up to four grouping fields. If you choose to use grouping, it’s a [terms](elasticsearch://reference/aggregations/search-aggregations-bucket-terms-aggregation.md) or [multi terms aggregation](elasticsearch://reference/aggregations/search-aggregations-bucket-multi-terms-aggregation.md); an alert will be created for each unique set of values when it meets the condition. To limit the number of alerts on high cardinality fields, you must specify the number of groups to check against the threshold. Only the top groups are checked.

Check notice on line 76 in solutions/observability/incident-management/create-an-elasticsearch-query-rule.md

View workflow job for this annotation

GitHub Actions / build / vale

Elastic.Semicolons: Use semicolons judiciously.

Threshold
: Defines a threshold value and a comparison operator (`is above`, `is above or equals`, `is below`, `is below or equals`, or `is between`). The value calculated by the aggregation is compared to this threshold.
: Defines a threshold value and a comparison operator: `is above`, `is above or equals`, `is below`, `is below or equals`, `is between`, or `is not between`. The value calculated by the aggregation is compared to this threshold. When using `is between`, comparison is inclusive of both operators (`max` >= `value` >= `min`), exclusive when using `is not between` (`max` > `value` > `min`).

* {applies_to}`stack: ga 9.2` If you use {{esql}}, specify a time field and how to group alerts.

Expand Down
Loading