Hi @Matthew Agosta , try using the Heartbeat
table instead. The Heartbeat
table contains information about the computers and their status, which can be joined with the Usage
table to get the log ingestion data. You can use the Computer
field in the Heartbeat
table to match with your Watchlist and then calculate the total log ingestion.
For example:
let watchlist = datatable(Computer:string) [
"Computer1",
"Computer2",
"Computer3"
];
Heartbeat
| where Computer in (watchlist)
| join kind=inner (
Usage
| summarize TotalLogIngestion = sum(Quantity) by Computer, bin(TimeGenerated, 1d)
) on Computer
| summarize MonthlyLogIngestion = sum(TotalLogIngestion) by Computer, bin(TimeGenerated, 1mo)
This query joins the Heartbeat
table with your Watchlist and then joins it with the Usage
table to get the total log ingestion for each computer on a monthly basis.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James