Forum Discussion

CharlieK95's avatar
CharlieK95
Copper Contributor
Mar 07, 2022
Solved

Sentinel Creating Multiple AlertIDs/IncidentNumbers for Multiple Events

Hey there,   This one is really giving me hard times as I can't quite understand why or how to fix this. In Sentinel, we run a log search in the LAW, and we get a full list of SecurityIncidents us...
  • Clive_Watson's avatar
    Mar 07, 2022
    Maybe just use the latest one per Incident Number (which arg_max does for you), this gets rid of those that have changed status during the Incident

    SecurityIncident
    | where TimeGenerated > ago(30d)
    | summarize count(), arg_max(TimeGenerated,*) by IncidentNumber


    You may prefer to filter on LastModified or LastActivity time rather than TimeGenerated in my example?

Resources