Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
13 lines (12 loc) · 455 Bytes

count-security-events-by-activity-id.md

File metadata and controls

13 lines (12 loc) · 455 Bytes

Count security events by activity ID

#project #parse #count

This example relies on the fixed structure of the Activity column: -. It parses the Activity value into 2 new columns, and counts the occurrence of each activity ID

SecurityEvent
| where TimeGenerated > ago(30m) 
| project Activity 
| parse Activity with activityID " - " activityDesc
| summarize count() by activityID