[Alerting] Make DEFAULT_MAX_HITS_PER_EXECUTION in ES query alert configurable #89561
Labels
Feature:Alerting
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
In the ES query alert type PR, the max number of hits allowed per execution is currently set to 1000 inside
x-pack/plugins/stack_alerts/server/alert_types/es_query/alert_type.ts
usingDEFAULT_MAX_HITS_PER_EXECUTION
. We should expose this configuration to the user as an alert param and allow them to set it, with a reasonable default and upper limit.The text was updated successfully, but these errors were encountered: