elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.64k stars 8.23k forks source link

[ResponseOps] improve `query-result-out-of-time-range` message in ES Query rule #200023

Open pmuellr opened 1 day ago

pmuellr commented 1 day ago

The ES Query rule type has some processing to try to catch the case where it is returning documents outside the time range being searched for, as part of investigating https://github.com/elastic/kibana/issues/175980:

https://github.com/elastic/kibana/blob/4ad25cf88df179334db72a593d05ff5bc0e3eb3e/x-pack/plugins/stack_alerts/server/rule_types/es_query/executor.ts#L259-L267

There are a few problems with this:

Suggestions:

elasticmachine commented 1 day ago

Pinging @elastic/response-ops (Team:ResponseOps)