This is related to the work done in #125034 and #126214. We need to push the evaluations for the Log Threshold Rule down to Elasticsearch using a combination of bucket_scripts and a bucket_selector to determine if the rule should trigger alerts. We should use a similar technique as described in this comment on a Stack Monitoring issue: https://github.com/elastic/kibana/issues/126709#issuecomment-1057459772
This is related to the work done in #125034 and #126214. We need to push the evaluations for the Log Threshold Rule down to Elasticsearch using a combination of
bucket_scripts
and abucket_selector
to determine if the rule should trigger alerts. We should use a similar technique as described in this comment on a Stack Monitoring issue: https://github.com/elastic/kibana/issues/126709#issuecomment-1057459772