mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
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. |
||
---|---|---|
.. | ||
packages | ||
plugins | ||
test |