kibana/x-pack/platform
Ersin Erdal 1343bfef35
Use msearch to fetch the alerts for maintenance windows with scoped query (#221702)
Currently we use a search with a `top_hits` aggregation to get the
alerts filtered with the scoped queries of the active maintenance
windows. But since `top_hits` aggregation has a fixed limit of 100 hits
we cannot use our max alerts limit to get all the alerts an execution
can generate.

This PR replaces `search` with `msearch` and removes the aggregation
from the search query so we can use the maxAlerts limit for the response
size.
2025-05-31 00:23:41 +02:00
..
packages Make option list with stats accessible with keyboard (#221729) 2025-05-29 14:25:30 +02:00
plugins Use msearch to fetch the alerts for maintenance windows with scoped query (#221702) 2025-05-31 00:23:41 +02:00
test feat(streams): create esql rule for significant events (#218173) 2025-05-26 17:22:58 +02:00