Log Analytics - VM availability (Metrics/chart)

Copper Contributor

How to capture below Metrics specific to Virtual machine: Availability, Down planned/Unplanned and Unknown in %:

Down Unplanned%
Down Planned%


Using 'Heartbeat' or if any other way.

1 Reply



There are at least 5 or 6 examples in the the "Example Queries" section.  You can try them in your own workspace or here https://ms.portal.azure.com/#blade/Microsoft_Azure_Monitoring_Logs/DemoLogsBlade


I'd suggest you also use an Azure Metric alongside Heartbeat (as heartbeat only tells you the Agent is working . not working).  An Azure workbook is a good way of combining the data in a report.


Annotation 2020-06-08 195506.jpg