Grouping
Grouping strategies decide which signals are related and go in one case.
A grouping strategy says which signals are related: the ones that share a value within a lookback. Related signals go in a case, which you triage and get notified about as one. This is Datadog's signal grouping.
Open Security → Signals, then Settings → Grouping. The list shows each strategy, its rules and how many cases it formed. View cases opens the Cases tab.
Creating a Strategy
Click New grouping strategy.
| Field | What it sets |
|---|---|
| Name | How it is listed, and how its cases name it |
| Signals that share | Source IP, Service, Namespace, Domain or Host |
| Within | The lookback, 5 minutes to 7 days (6 hours by default): a new signal looks back this far for related ones |
| Detection rules | The rules whose signals it groups. Empty: every rule. |
| Enabled | When on, it groups each new signal (with earlier related signals that are in no case); its cases stay when it is off |
A signal's value for the field is its own group value if its rule groups by that field; for Service, Namespace and Domain it is otherwise where the signal happened. A signal with no value for the field is not grouped by that strategy. Host is a log field, so only custom rules over logs that group by it give signals a host.
Examples
| Strategy | Groups |
|---|---|
| Source IP, within 6 hours | One attacker's brute force, secret-file probes and sweep into one case |
| Service, within 1 hour | Everything that hit the same service in a burst |
| Namespace, within 1 day | A day's signals about one team's namespace |
Several Strategies
A signal goes in one case at most. When several strategies apply to it, the oldest one that finds it related signals decides; the list shows strategies oldest first. See how signals join a case.
Changing a strategy's field or lookback applies to new signals; its existing cases stay as they are. Deleting a strategy stops it grouping; its cases stay.