Troubleshoot detection rules

This topic covers common troubleshooting issues when creating or managing detection rules.

Depending on your privileges and whether detection system indices have already been created for the Kibana space, you might get one of these error messages when you open the Alerts or Detection rules (SIEM) page:

If many detection rules time out or fail at around the same time, your project might be running out of search capacity. Other signs include Request timed out errors in Kibana, circuit breaker exceptions, and slower queries in Discover. To check rule outcomes, use the Rule Monitoring tab.

To fix the problem:

  1. Reduce the search load from your rules. For what to change, refer to Keep rules running on time.
  2. If rules still time out, contact Elastic Support to request more search capacity. To learn how Elastic Cloud sizes your project's search capacity, refer to How search capacity works.

When a rule fails to run close to its scheduled time, some alerts might be missing. There are a number of ways to try to resolve this issue.

You can also use Task Manager in Kibana to troubleshoot background tasks and processes that might be related to missing alerts: