Queries on Log Analytics
Hi All,
I was hoping someone would be able to assist me, or at least point me in the right direction.
We have a number of Log Analytics Workspaces generating obvious costs every month.
What I would like to do is the following via script (PowerShell or KQL for instance):
1. I would like to pull the costs for the Log Analytics Workspaces and be able to show them all on a single graph (exporting to *.csv would allow me to do so).
2. I would like to pull a report on a LAW and align the costs for that workspace with the resources using it. (the current options with Cost Management + Billing only shows log ingestion).
Has anyone been able to do something similar?
Thanks!
CV
Hi All, I was hoping someone would be able to assist me, or at least point me in the right direction.We have a number of Log Analytics Workspaces generating obvious costs every month.What I would like to do is the following via script (PowerShell or KQL for instance): 1. I would like to pull the costs for the Log Analytics Workspaces and be able to show them all on a single graph (exporting to *.csv would allow me to do so).2. I would like to pull a report on a LAW and align the costs for that workspace with the resources using it. (the current options with Cost Management + Billing only shows log ingestion). Has anyone been able to do something similar?Thanks!CV Read More