forked from rod-trent/SentinelKQL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
//Getting average EPS and estimated GB per table for the M365 Advanced tables. Run this in Advanced Hunting at security.microsoft.com | ||
|
||
|
||
let bytes_ = 500; | ||
union withsource=MDTables* | ||
| where Timestamp > startofday(ago(1d)) | ||
| summarize count() by bin(Timestamp, 1m), MDTables | ||
| extend EPS = count_ /60 | ||
|summarize avg(EPS), estimatedGBytes = (avg(EPS) * bytes_ ) / (1024*1024*1024) by MDTables | ||
| sort by toint(estimatedGBytes) desc |