Understand rule run scheduling
This document is for security analysts, engineers, and platform administrators who want to understand and manage how Google Security Operations schedules rule executions. It explains how rule configurations determine processing frequency, how the system balances near-real-time streaming with scheduled batch processing, and how background runs handle late-arriving logs and context enrichment.
Common use cases
Choosing or understanding the right schedule depends on threat severity and logic complexity:
- High-priority alerting: Detect critical threats in near-real time for single-event matches that require no additional event correlation, reducing attacker dwell time.
- Complex correlation and reporting: Use scheduled intervals (such as 10 minutes or 1 hour) for multi-event rules that calculate counts, sums, or sliding match windows. Scheduled intervals ensure that the system ingests and enriches related logs before execution, improving alert accuracy for compliance and trend analysis.
Key terminology
- Deterministic frequency: The baseline execution interval the system assigns automatically based on your rule's match window and rule type.
- Primary run (T + offset): The initial execution of the detection logic against an event time block. The settlement delay represents the offset added to account for late-arriving data.
- Settlement delay: The buffer period added to the primary run to allow late-arriving logs to process before rule evaluation begins.
- True-up runs (rule replays): Automated background executions that re-evaluate previously processed time windows to capture logs or enrichment data that arrived after the primary run.
- Enrichment: The process of adding context to a log (such as asset metadata, user identity, or threat intelligence indicators) during pipeline processing.
- Detection delay: The total elapsed time between the event timestamp and the creation of a detection.
Before you begin
Confirm your environment meets the following requirements:
- Permissions: You must have the Chronicle API Admin (
roles/chronicle.admin) or Chronicle API Editor (roles/chronicle.editor) IAM role to modify rule schedules, or the Chronicle API Viewer (roles/chronicle.viewer) role to inspect schedules in the Rules Dashboard. - Environment check: Make sure your logs are mapped to the Unified Data Model (UDM) to support scheduled interval aggregations.
How rule scheduling works
Google SecOps balances near-real-time detection latency with platform stability across thousands of rules. The platform uses two primary execution models:
- Streaming engine: Evaluates standard and windowed single-event rules (even with match windows greater than 48 hours) continuously in near-real time (typically within 5 minutes of ingestion). Late-arriving events and retroactive enrichments are evaluated continuously during standard execution.
- Scheduled query engine: Evaluates complex single-event rules (with reference lists or data tables) in near-real time, and multi-event rules in batched blocks of event time (such as 10-minute or 1-hour intervals, or
match_window / 10for windows greater than 48 hours). Multi-event rules require a time window to aggregate and correlate events across sources.
Default schedule configuration
When you enable a rule, Google SecOps automatically determines the default execution frequency based on your rule's logic and match window:
| Rule type and window size | Execution frequency | Evaluation timing | True-up runs |
|---|---|---|---|
| Single-event rule (standard or windowed) | Real-time | Shortly after arrival (<5 minutes) | No. Evaluates late and enriched data continuously in standard execution. |
| Single-event rule (with reference lists or data tables) | Near-real time | Shortly after arrival (<5 minutes) | No. Evaluates late and enriched data continuously during standard query execution. |
Custom multi-event rule (window < 1h) |
Every 10 min by default (customizable to Every 1 Hour) | After the match window closes on a 10-minute cadence (plus any settlement delay) | Yes. Customizable schedules run a 4h true-up and optional 30h true-up. Legacy schedules run fixed 5h and 24h true-ups. |
Custom multi-event rule (1h <= window <= 48h) |
Every 1 Hour | After the match window closes on an hourly cadence (plus any settlement delay) | Yes. Customizable schedules run a 4h true-up and optional 30h true-up. Legacy schedules run fixed 5h and 24h true-ups. |
| Curated multi-event rule | Every 10 min (composite rules) or Every 1 Hour (all other curated multi-event rules) | After the match window closes on a fixed cadence (no configurable settlement delay) | Yes. Runs fixed 5h and 24h true-ups. |
Multi-event rule (window > 48h) |
match_window / 10 (up to 24 hours). For example, every 24h for a 10d match window. |
Varies based on match window (match_window / 10, with a fixed 1-hour delay) |
No. Evaluates late and enriched data during subsequent overlapping runs. |
Automatic true-up runs
To capture late-arriving logs and enrichment metadata (such as asset tags or user aliases), the system runs automated true-up runs for multi-event rules (window <= 48h). True-up timings are measured from the end of the event time window, independent of any settlement delay. Customizable schedules use the following stages:
- Primary run: Evaluates incoming data on the configured cadence (10 minutes or 1 hour), shifted by any configured settlement delay.
- True-up run 1 (4h): Runs every hour to re-evaluate data from 4 hours ago and capture late-arriving logs. If Ensure enrichment completeness is on, this run also waits for enrichment data to finish processing.
- True-up run 2 (30h): Runs every hour to re-evaluate data from 30 hours ago when Ensure enrichment completeness is turned on.
For more information on true-up behavior and scenarios, see Understand rule replays and MTTD.
Customizable schedules
For eligible custom multi-event rules (match window of 48 hours or less, no BY operator), Google SecOps lets you customize the following settings:
- Choose Every 10 min (default for match windows under 60 minutes) or Every 1 Hour.
- Configure a Settlement delay (from 1 minute to 48 hours) to delay the primary run for log sources with known ingestion latency.
- Control enrichment waiting per rule with Ensure enrichment completeness (off by default). Turning it on makes True-up run 1 (4 hours) wait for enrichments and adds True-up run 2 (30 hours).
For full configuration steps and a comparison of legacy and customizable schedules, see Configure customized schedules for rules.
Schedule visibility in the Rules Dashboard
The Rules tab (labeled Rules Dashboard in the legacy view) displays the assigned execution schedule for each active rule in the Rule schedule column. Inactive rules don't display an active schedule until enabled.
To modify the run frequency, add settlement delays, or adjust enrichment wait times for a custom multi-event rule, see Configure customized schedules for rules.
Detection source indicators
In the Alerts page and Rules Dashboard, the Detection Type column indicates whether a detection originated from an initial execution or an automated background run:
- No icon: The detection was generated during the primary run (T) or using the continuous streaming engine.
- lightbulb icon : The detection originated from event data arriving more than 30 minutes late, automated true-up runs, reprocessing pipelines, or retrohunts.
Latency and troubleshooting considerations
Rule run frequency directly impacts the speed of your detections. Keep the following behaviors in mind when designing and monitoring rules:
- Hourly schedules: Run every hour using the most recent data available; no extra buffer is applied by default.
- Match windows greater than 48 hours: The system executes these rules at a rate of
match_window / 10and does not do any true-up runs. - Discrepancies between runs: A detection that does not trigger on the first run might trigger during a true-up run if log ingestion was delayed or if context enrichment (such as entity graph resolution) completed after the initial evaluation.
- Missing customization options: Single-event rules evaluate in near-real time and don't support interval customization. Curated rules follow fixed system schedules. Custom multi-event rules with a match window greater than 48 hours execute at a frequency of
match_window / 10and cannot be customized. - Unsupported intervals: If you cannot select near-real-time execution, your rule is a multi-event rule requiring event correlation across time or includes aggregations (such as
countorsum), which require the scheduled batch query engine.
For in-depth troubleshooting steps, see Understand rule detection delays.
What's next
To explore related scheduling concepts and configuration workflows, see the following documents:
- Configure customized schedules for rules: Customize run frequencies, settlement delays, and true-up enrichment completeness for multi-event rules.
- Understand rule replays and MTTD: Learn how automated true-up runs handle late-arriving data and context updates to impact Mean Time to Detect (MTTD) metrics.
- Understand rule detection delays: Diagnose and resolve expected and unpredicted delays across ingestion and processing pipelines.
- Manage rules using the Rules editor: Create, edit, and manage custom detection rules in Google SecOps.
Need more help? Get answers from Community members and Google SecOps professionals.