OBLYTECH Logo
OBLYTECH Logo

ServiceNow Alert Correlation Rules and Alert Groups Explained

ServiceNow alert correlation rules decide which incoming alerts belong in the same alert group, so an operator works one item instead of a stack of near-identical events. Each rule compares fields on a new alert with alerts that are already open, and when the conditions match, the new alert joins the group and one alert in that group acts as its primary. When grouping goes wrong, the cause is usually in the matching conditions, the time window or the order the rules run in. For the upstream side, see reducing alert noise in Event Management.

Primary and secondary alerts do different jobs

A group needs one alert to stand in for it. That is the primary alert, and the other members of the group are secondary alerts attached to it. Secondary alerts keep their own records, so each individual event stays visible. The practical test is whether the primary gives the on-call person enough to start work. If the primary is a generic message from a monitoring source, the group may be correct while the rule still isn’t helping. The Primary Alert filter condition on the rule decides which alert takes that role, so check that the condition picks the alert your team would act on first.

Closing the primary alert decides what happens to its secondaries

When the primary alert closes, the grouping ends. What the secondaries do next depends on the property labeled Keep the secondary alert open even when primary closed (evt_mgmt.rule_based_manual_closure). With it cleared, the secondaries close as stand-alone alerts. With it selected, they stay open as stand-alone alerts.

A group keeps only two levels, so chained rules get flattened

A group keeps only one level of secondary alerts. If a rule makes an alert a secondary of an alert that is itself a secondary, the system flattens the chain so the top alert stays primary and the middle alert becomes a sibling. A later rule may not apply at all, because an alert cannot have two parents.

Write each rule so its primary is a true root cause rather than another secondary.

Rule order and first-match behavior decide who gets an alert

Rule order matters because an earlier rule that matches an alert can leave a later rule with less to work on. Rules are checked from the lowest Order value upward, and once an alert matches a rule, the remaining rules are not checked for that alert. A broad rule placed high in the list can absorb alerts that a narrow, specific rule was written to handle. The usual fix is to move specific rules above general ones and to write down what each rule is for, so the order can be reviewed later. After any change to the order, replay a known set of events and confirm each one lands where you expect.

Rules judge alerts when they arrive or reopen, not the whole open queue

A correlation rule only evaluates an alert when that alert is new, or when its state moves from closed or flapping back to open or reopened. Alerts that are already open when you save a rule change do not meet that trigger unless their status changes, so the change mostly shapes how future alerts group.

A flapping alert that settles back to open is evaluated again, so its grouping can be recalculated after an operator has already looked at it.

The time window controls how far apart alerts can be and still group

The time difference setting limits how long after the first alert a matching alert can arrive and still join the group. A window that is too long can merge repeats of the same event from different shifts into one group, which can hide a fresh problem behind an old one. A window that is too short can split one incident into several groups when a monitor repeats slowly. Set the window from the gap between repeats in past events for that service, not from a round number.

Relationship-based matching depends on accurate CI data

Field matching compares what an alert says about itself. Relationship-based matching uses the configuration items the alerts point to. The Primary is Parent and Primary is Child types check whether those items are linked by CI relationships in the CMDB, while Same CI or Node matches alerts on the same CI, or the same Node when the CI is blank. That narrows groups. The catch is that these matches depend on the relationship data. A service that was rebuilt without its relationships being updated can either stop grouping or group against the wrong neighbors. Before tuning rules, check ten or so configuration items that generate frequent alerts and confirm their relationships match what actually runs on them. The longer job of keeping that data clean is covered in the guide on overcoming CMDB hurdles for a reliable ServiceNow setup.

When an advanced script rule is worth the effort

Field conditions handle the usual cases, and they should be the first choice because they are easy to read and test. An advanced script rule earns its place when the decision depends on logic the standard conditions cannot express, such as looking for a pattern inside the alert message and then branching on the class of the related item. Scripts are harder to check and to hand over, and they run on each alert that matches the rule’s Filter condition. Keep the script short, comment the reason for each branch, and state in the rule description what it is meant to match. Creating a correlation rule requires the evt_mgmt_admin role, so check that your team holds it before you plan a script-based rule.

Diagnosing over-grouping and under-grouping

Tuning work usually starts from a symptom. The table pairs what operators see with the usual cause and the first thing to check.

What operators see Usual cause First check
Unrelated alerts share one group A matching condition is too loose, or a broad rule sits above a specific one Rule order, then the fields the condition compares
One incident appears as several groups The time window is too short, or relationships are missing The gap between repeats in past events, then the CI relationships
Groups stay open far longer than the event The keep-open property leaves secondary alerts open after the primary closes The Keep the secondary alert open even when primary closed setting, and the secondary alerts still open in the group
The primary alert gives no context The primary comes from a source with a generic message Which source produces the primary and whether its message is the useful one
Grouping changes after an upgrade A rule, property or CI data change made around the upgrade Release notes for your version and a replay of test events

Process gaps cause many of these too, such as rules nobody reviews; see common ServiceNow implementation pitfalls.

Testing rules against real event data before you rely on them

Test before you trust a rule. Pick a set of recent events from a period where you already know the correct grouping, and include a few incidents that were split and a few that were wrongly merged. Run them through the rule set in a non-production instance if you have one, or review the groups they produce in a controlled window, then compare the results with what the team knew at the time. Change one thing at a time and log each change. A rule that looks right during one busy hour can fail on a quiet night with a different event mix, so test both. The design side of this work is set out on the alert correlation page within our ServiceNow solutions.

Does a lower event-to-alert compression percentage prove fewer outages, and how should alert grouping coverage be reported beside it?

No. A lower compression percentage does not prove fewer outages. It only measures how many incoming events were folded into fewer alerts, so it says nothing about how many outages happened or how long they lasted. Report alert grouping coverage beside it as a separate measure, and test both against sampled groups, safety checks, incident counts and restoration times.

The compression number counts processing, not outcomes

As of November 2026, the ServiceNow Event and Alert dashboard defines noise reduction as event-to-alert compression and tracks alert grouping coverage separately. A workable form of compression is one minus new alerts divided by accepted events, measured inside a cohort and period you define. Both inputs are processing counts. The metric does not establish a reduction in pages, incidents, outages or restoration time.

A lower number can come from unrelated changes

Removing repeated events at the source lowers the event count and can lower compression, though the same failures still occur. Folding a flood of repeats from one failing component into a single alert raises compression, even though the same outage happened. A lower percentage can also come from keeping more events as separate alerts, because the formula counts only new alerts against accepted events. It describes the pipeline, not failure frequency.

Grouping coverage needs its own definition and check

Alert grouping coverage is the share of eligible alerts that ended up in a group. Decide what counts as eligible and state how alerts raised before a grouping change are counted in the denominator. Coverage also says nothing about correctness: a group can cover every alert and still merge two unrelated failures. Pair it with a sample check.

Report the figures in this order

  1. Fix the cohort. Name the services, severities and period, and use that scope for every measure.
  2. Sample the groups. Review a fixed set by hand for shared root cause and for unrelated failures merged together.
  3. Show the safety measures. Place missed actionable alerts, incorrect suppression, incorrect grouping and false closures beside the efficiency figures.
  4. Add outcome measures separately. Track incident volume, keeping duplicate-ticket reduction distinct from fewer underlying failures. Report restoration time with a written start and end point, segmented by severity and service.
  5. Record confounders. Threshold changes, new monitoring coverage and incident reclassification can each move the figures.

Ask for the outcome data behind any quoted figure

When someone quotes a compression figure, ask for the cohort, accepted event count, coverage, sample size, and incident and restoration results for the same period. One ServiceNow internal IT case, with no publication date given and checked in November 2026, records that part of its high-priority incident reduction came from consolidating multiple incidents, so a falling incident count can reflect consolidation rather than fewer failures. Without those answers, the figure is a processing statistic, not an outage result.

Frequently asked questions about ServiceNow alert correlation rules

What is the difference between a primary and a secondary alert?

The primary alert represents the group and is the one an operator is expected to act on first. Secondary alerts stay linked to it and keep their own details, so the events that matched stay visible. If the primary carries little information, adjust the rule or the source that produces the primary.

Why does my correlation rule group alerts that are unrelated?

The usual reasons are a condition that compares a field too loosely, such as a generic message or a shared class, or a broad rule that runs before a specific one. Check the rule order first, then the fields in the condition, then whether relationships are pulling in the wrong neighbors.

Do I need an advanced script rule for correlation?

Usually not. Start with field conditions and relationship matching because they are easier to read and test. Move to a script only when a decision needs logic those conditions cannot express, and document what the script matches.

The rest of the setup is in the Event Management guides, and the piece on deciding whether to tune this in-house or with a partner is worth reading if the rules keep drifting.