Detection rulesedit

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

Machine learning rulesedit

Machine learning rule is failing and a required machine learning job is stopped

If a machine learning rule is failing, check to make sure the required machine learning jobs are running and start any jobs that have stopped.

  1. Go to DetectRules, then select the machine learning rule. The required machine learning jobs and their statuses are listed in the Definition section.

    rules ts ml job stopped
  2. If a required machine learning job isn’t running, select ML job settings in the upper-right corner of the page, then search for the machine learning job.
  3. Turn on the Run job switch for the required machine learning job.

    rules ts start ml job
  4. Rerun the machine learning detection rule.

Indicator match rulesedit

Rules are failing due to number of alerts

If you receive the following rule failure: "Bulk Indexing of signals failed: [parent] Data too large", this indicates that the alerts payload was too large to process.

This can be caused by bad indicator data, a misconfigured rule, or too many event matches. Review your indicator data or rule query. If nothing obvious is misconfigured, try executing the rule against a subset of the original data and continue diagnosis.

Indicator match rules are timing out

If you receive the following rule failure: "An error occurred during rule execution: message: "Request Timeout after 90000ms", this indicates that the query phase is timing out. Try refining the time frame or dividing the data defined in the query into multiple rules.

General slowness

If you notice rule delays, review the suggestions above to troubleshoot, and also consider limiting the number of rules that run simultaneously, as this can cause noticeable performance implications in Kibana.

Rule exceptionsedit

No autocomplete suggestions

When you’re creating detection rule exceptions, autocomplete might not provide suggestions in the Value field if the values don’t exist in the current page’s time range.

You can resolve this by expanding the time range, or by configuring Kibana’s autocomplete feature to get suggestions from your full data set instead. Go to KibanaStack ManagementAdvanced Settings, then turn off autocomplete:useTimeRange.

Turning off autocomplete:useTimeRange could cause performance issues if the data set is especially large.