Bulk Emails by Sender Bulk Complaint level
Description
This query visualises total inbound emails which has any Bulk complaint level.
Query · kql
//This query visualises total inbound emails which has any Bulk complaint level. It is summarizing the data by the various Bulk Complaint levels to understand how many messages are detected with each Bulk Complaint level. EmailEvents | where Timestamp > ago(30d) | where OrgLevelPolicy != "Phishing simulation" and OrgLevelPolicy != "SecOps Mailbox" | extend Key = strcat(NetworkMessageId, '-', RecipientEmailAddress) | summarize arg_max(Timestamp, *) by Key | where EmailDirection == "Inbound" and isnotempty(BulkComplaintLevel) | summarize count() by BulkComplaintLevel | sort by BulkComplaintLevel desc | project BulkComplaintLevel, Emails = count_