SOLVED

Are horizontal bar graphs possible in Log Analytics/Azure monitor?

Microsoft

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 graphbar graphThis is my current query: 

 

InsightsMetrics
| where Name == "FreeSpaceMB"
and TimeGenerated > ago(10m)

 

4 Replies
best response confirmed by Jhilene (Microsoft)
Solution

@Jhilene 

Go to Log Analytics and run query

InsightsMetrics
| where Name == "FreeSpaceMB"
and TimeGenerated > ago(10m)
| render barchart kind=stacked
 

https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/renderoperator?pivots=azuremonitor

Annotation 2020-07-30 095107.jpg

 

A better example would be (please adapt)

InsightsMetrics
| where Name == "FreeSpaceMB"
and TimeGenerated > ago(10m)
| summarize sum(Val) by Computer
| render barchart kind=stacked

@CliveWatson Thank you soooo much! This really helped.

1 best response

Accepted Solutions
best response confirmed by Jhilene (Microsoft)
Solution

@Jhilene 

Go to Log Analytics and run query

InsightsMetrics
| where Name == "FreeSpaceMB"
and TimeGenerated > ago(10m)
| render barchart kind=stacked
 

https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/renderoperator?pivots=azuremonitor

Annotation 2020-07-30 095107.jpg

 

A better example would be (please adapt)

InsightsMetrics
| where Name == "FreeSpaceMB"
and TimeGenerated > ago(10m)
| summarize sum(Val) by Computer
| render barchart kind=stacked

View solution in original post