Question
index="main" sourcetype="WinEventLog:Sysmon" EventCode=8
| bin _time span=1h
| stats count as thread_count by _time, SourceImage
| eventstats avg(thread_count) as avg_count, stdev(thread_count) as stddev_count
| eval threshold=avg_count + (2 * stddev_count)
| where thread_count > threshold
| sort - thread_count
| table _time, SourceImage, thread_count, avg_count, stddev_count, threshold
Last updated