Quarantine Phish Reason trend
Description
This query visualises the amount of phish emails that are quarantined, summarized daily by the detection method
Query · kql
let minTime = startofday(ago(30d)); let maxTime = startofday(now()); EmailEvents | where Timestamp >= minTime | where EmailDirection == "Inbound" and DetectionMethods has "Phish" and DeliveryLocation == "Quarantine" | mv-expand Details = parse_json(DetectionMethods).Phish to typeof(string) | where isnotempty(Details) | where Timestamp < maxTime | make-series Count = count() default = 0 on Timestamp from minTime to maxTime step 1d by Details | project Count, Details, Timestamp | render timechart