Visualize Daily Events For Each Table
Description
In MDE or Sentinel there are plenty of tables that generate logs, in order to determine which tables ingest the most logs the queries below can be used. The TimeRange variable can be used to select the time range for your visualization.
Mainly important for Sentinel users is to get insight into the amount of traffic ingested, this KQL query can help you to determine which tables ingest most data. The reference below can be used to get more information about cost management in Sentinel.
Query
Microsoft Defender For Endpoint
Kusto
let TimeRange = 10d;
search *
| where Timestamp > ago(TimeRange)
| project Timestamp, $table
| summarize Events = count() by $table, bin(Timestamp, 1d)
| render linechart with (title="Total Daily Events")
Microsoft Sentinel
Kusto
let TimeRange = 10d;
search *
| where Timestamp > ago(TimeRange)
| project Timestamp, $table
| summarize Events = count() by $table, bin(Timestamp, 1d)
| render columnchart with (title="Total Daily Events", kind=stacked)