Monitor rules
Use rule monitoring to check that your Detection Rules are running and to see what became of their matches. There are two places to look: the Rule monitoring tab for every rule at once, and the Execution results tab of one rule.
Role needed: An Admin or Super Admin account opens the Detection Rules screen. Viewing monitoring needs Settings access with Trigger Rules: Read. Running a rule manually, filling a gap and stopping a run need Trigger Rules: Set. Manual runs and gap fills also depend on your licence. See Detection Rules.
Check all rules
- Select Settings, then Detection Rules in the Detections group.
- Select Rule monitoring.
The tab opens with Rule Monitoring Overview. Select its heading to collapse it. If the appliance cannot supply monitoring figures, the tab says Rule monitoring is not available from this appliance yet.
The overview
Last evaluation is when any enabled rule last evaluated events. It shows None if none has. Beside it are two summaries.
| Summary | What it counts |
|---|---|
| Last response summary | Rules by their last result: Succeeded, Warning, Failed and No response. |
| Match outcome summary (last 24 hours) | What became of rule matches in the last 24 hours: Alerted, Throttled, Muted and Suppressed. |
A match is Alerted when it became an alert. It is Throttled when the rule's Suppress alerts by setting folded it into an earlier alert (see Create and edit a Detection Rule). It is Muted when its rule was muted. It is Suppressed when a suppression list dropped it. That is the suppression list, not the Suppress alerts by setting. See Rule exceptions and the suppression list.
The table
The table lists every rule with these columns. The search box, filters and bulk actions work as on Installed rules.
| Column | Meaning |
|---|---|
| Indexing Time (ms) | Time spent writing the rule's alerts, in milliseconds. |
| Evaluation Time (µs) | The average time to evaluate the rule against an event, in microseconds, measured on a sample of events. |
| Matches | How many events matched. |
| Last response | Succeeded, Warning, Failed or no response. Hover for the message. |
| Last run | When the rule last evaluated events or ran its search. |
For a rule that checks each event as it arrives, the figures cover the last minute in which it evaluated events.
Check one rule
- Select the rule's name in the list.
- Select Execution results.
A rule that checks every event as it arrives has no scheduled runs. Its tab shows its latest evaluation window: Last response, Last evaluated, Matches, Average evaluation time and Indexing time. Until the rule has evaluated an event it says No evaluations yet.
A scheduled rule, Query or New terms, has three sections.
Execution log
Each run of the rule is a row. Choose the period with the date picker, which starts at the last 24 hours. Filter by Run type, which is Scheduled, Manual or Gap fill, and by Status, which is Succeeded, Failed or Retrying.
| Column | Meaning |
|---|---|
| Status | The overall result of the run. |
| Run type | How the run started. |
| Timestamp | When the run started. Hover for the event time range it searched. |
| Execution duration | How long the run took. |
| Alerts created | Alerts the run created or extended. |
| Message | A message about the outcome. For a run that could not start because the account the rule runs as is no longer allowed to, it names the reason. See What a scheduled rule can see. |
Gaps
A gap is a window of time the rule never searched. If rules stop running for longer than the appliance can catch up, the older windows are skipped and recorded here. The date picker starts at the last 7 days. Filter by Status: Unfilled, In progress, Partially filled or Filled.
Each gap shows its Reason, when it was Detected at, its Range, the Total gap duration, the number of Manual fill tasks and the share of Event time covered.
To fill a gap, select the fill button in its Actions column. The rule runs over the missed windows. A gap that is being filled, or already filled, cannot be filled again.
Manual and gap fill tasks
This table lists the manual runs and gap fills of the rule, newest first, with Status (Pending, Running, Complete, Error or Stopped), who started it, the Source event time range, and counts of Pending, Running, Completed and Total runs. Alerts created is the number of alerts it raised.
To stop a task that is pending or running, select Stop. Runs not yet made are dropped. Runs already made are kept. Finished tasks are kept in the list for 30 days.
Run a rule over a past period
Use a manual run to test a scheduled rule against events you already have, or to run it over a period it missed.
- Open the rule and make sure it is switched on. A rule that is off cannot be run manually.
- Select All actions, then Manual run.
- In Manual rule run, choose the start and end. They default to the last three hours.
- Select Run.
The rule runs once for each of its intervals across the range, each run covering the rule's look-back. The range must end in the past and cover at most 90 days. One manual run does at most 1,440 runs of the rule, which is about a day for a rule that runs every minute. A longer range is refused with a message that says so.
Alerts a manual run finds open or extend Cases and run their Action Rules, exactly as scheduled alerts do. Run it over a period you want those effects for.
Manual run is available only for Query and New terms rules. Match, Sequence and Indicator rules check every event as it arrives, so they have no manual run.