Daily process execution trend
Description
Identify new processes and prevalence, making "new rare process" detections easier.
Query · kql
// Daily ProcessExecution Trend in SecurityEvents // Frequency - Daily - Maintain 30 days or more history. SecurityEvent | where TimeGenerated > ago(1d) | where EventID == 4688 | extend Day = format_datetime(TimeGenerated, "yyyy-MM-dd") // Preserve per-process totals and retain one sample account for investigation. | summarize Count = count(), DistinctComputers = dcount(Computer), DistinctAccounts = dcount(Account), DistinctParent = dcount(ParentProcessName), NoofCommandLines = dcount(CommandLine), SampleAccount = take_any(Account) by Day, NewProcessName | extend AccountCustomEntity = SampleAccount