Skip to content

Commit

Permalink
Create EPSperTable.kql
Browse files Browse the repository at this point in the history
  • Loading branch information
rod-trent committed Jul 19, 2023
1 parent fe0eb5d commit 8294ac3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions EPSperTable.kql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//Average EPS for a table. Change the tablename

let bytes_ = 500;
SecurityEvent
| where TimeGenerated > startofday(ago(1d))
| summarize count() by bin(TimeGenerated, 1m)
| extend EPS = count_ /60
|summarize avg(EPS), estimatedGBytes = (avg(EPS) * bytes_ ) / (1024*1024*1024)
| sort by toint(estimatedGBytes) desc

0 comments on commit 8294ac3

Please sign in to comment.