Top 10 domains sending Bulk email
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 and SenderFromDomain of the email sender. It provides insights how many messages are detected with each Bulk Complaint level for each sender domain. 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, SenderFromDomain | top 10 by count_ | project SenderFromDomain, BulkComplaintLevel, Emails = count_