Forum Discussion
Are horizontal bar graphs possible in Log Analytics/Azure monitor?
I'd like to have Computers as values on the y-axis and Mb on the on the x-axis in terms of free disk space available. I haven't been able to find any examples on the web using Azure Monitor.
bar graphThis is my current query:
InsightsMetrics
| where Name == "FreeSpaceMB"
and TimeGenerated > ago(10m)
Go to Log Analytics and run query
InsightsMetrics | where Name == "FreeSpaceMB" and TimeGenerated > ago(10m) | render barchart kind=stackedhttps://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/renderoperator?pivots=azuremonitor
A better example would be (please adapt)
InsightsMetrics | where Name == "FreeSpaceMB" and TimeGenerated > ago(10m) | summarize sum(Val) by Computer | render barchart kind=stacked
4 Replies
- Meir_Mendelovich
Microsoft
Hi Jhilene
For full documentation on rendering options see this: https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/renderoperator?pivots=azuremonitor
Thanks,
Meir
- Jhilene
Microsoft
Meir_Mendelovich Thank you!
- CliveWatsonFormer Employee
Go to Log Analytics and run query
InsightsMetrics | where Name == "FreeSpaceMB" and TimeGenerated > ago(10m) | render barchart kind=stackedhttps://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/renderoperator?pivots=azuremonitor
A better example would be (please adapt)
InsightsMetrics | where Name == "FreeSpaceMB" and TimeGenerated > ago(10m) | summarize sum(Val) by Computer | render barchart kind=stacked- Jhilene
Microsoft
CliveWatson Thank you soooo much! This really helped.