From eb9de95267fba03a6f8fa6d14dfb2a3080236c79 Mon Sep 17 00:00:00 2001 From: "nastasha.solomon" Date: Tue, 7 May 2024 21:50:32 -0400 Subject: [PATCH] First draft --- docs/detections/rules-ui-create.asciidoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/detections/rules-ui-create.asciidoc b/docs/detections/rules-ui-create.asciidoc index bf8e964672..a0d3b7d109 100644 --- a/docs/detections/rules-ui-create.asciidoc +++ b/docs/detections/rules-ui-create.asciidoc @@ -311,7 +311,7 @@ NOTE: Rules that use aggregating queries might create duplicate alerts. This can [float] [[esql-non-agg-query]] ===== Non-aggregating query -Non-aggregating queries doesn't use `STATS...BY` functions and doesn't aggregate source event data. Alerts generated by an {esql} rule with a non-aggregating query only contain the fields returned by the query. +Non-aggregating queries don't use `STATS...BY` functions and don't aggregate source event data. Alerts generated by an ES|QL rule with a non-aggregating query contain the fields returned by the query and all fields in the source event document. Here is an example non-aggregating query: [source,esql] @@ -376,6 +376,8 @@ NOTE: The `max_signals` default value is 100. You can modify it using the <>. + [float] [[esql-rule-limitations]] ==== {esql} rule limitations @@ -383,7 +385,6 @@ NOTE: The `max_signals` default value is 100. You can modify it using the <>. -- If your {esql} query creates new fields that aren’t in the query’s source index, they can’t be added to the rule’s <>. [float] [[rule-ui-basic-params]]