elastic / kibana

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

[Response Ops][Alerting] Log ES query when query fails #185889

Open ymao1 opened 4 weeks ago

ymao1 commented 4 weeks ago

Currently, we debug log the ES query used during rule executions. It would be useful to log at a different level if the search fails so we have insight into what query failed.

elasticmachine commented 4 weeks ago

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

maryam-saeidi commented 4 weeks ago

@ymao1 Maybe even better if we can somehow include the related ES query in the same error log.