Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ListIncomingAndOutgoingMBytesPerHourFromSMTPLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SMTPLogs_CL
| parse RawData with Date " " Time " " CIP " " CSUserName " " SSiteName " " SComputerName " " SIP " " SPort " " CSMethod " " CSUriStem " " csuriquery " " scstatus " " scwin32status " " scbytes " " csbytes " " *
| summarize incomingMB=((sum(toint(csbytes))/1024)/1024) , outgoingMB=((sum(toint(scbytes))/1024)/1024) by Hours=bin(todatetime(strcat(Date , " " , Time)), 1h)
| sort by Hours asc