Log Analytics - VM availability (Metrics/chart)

%3CLINGO-SUB%20id%3D%22lingo-sub-1449256%22%20slang%3D%22en-US%22%3ERe%3A%20Log%20Analytics%20-%20VM%20availability%20(Metrics%2Fchart)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1449256%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F679950%22%20target%3D%22_blank%22%3E%40PrashantM2495%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%20at%20least%205%20or%206%20examples%20in%20the%20the%20%22Example%20Queries%22%20section.%26nbsp%3B%20You%20can%20try%20them%20in%20your%20own%20workspace%20or%20here%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fms.portal.azure.com%2F%23blade%2FMicrosoft_Azure_Monitoring_Logs%2FDemoLogsBlade%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fms.portal.azure.com%2F%23blade%2FMicrosoft_Azure_Monitoring_Logs%2FDemoLogsBlade%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI'd%20suggest%20you%20also%20use%20an%20Azure%20Metric%20alongside%20Heartbeat%20(as%20heartbeat%20only%20tells%20you%20the%20Agent%20is%20working%20.%20not%20working).%26nbsp%3B%20An%20Azure%20workbook%20is%20a%20good%20way%20of%20combining%20the%20data%20in%20a%20report.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Annotation%202020-06-08%20195506.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F197380iE0A0114F797A2D5C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%22Annotation%202020-06-08%20195506.jpg%22%20alt%3D%22Annotation%202020-06-08%20195506.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorClive%20Watson_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1447653%22%20slang%3D%22en-US%22%3ELog%20Analytics%20-%20VM%20availability%20(Metrics%2Fchart)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1447653%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20to%20capture%20below%20Metrics%20specific%20to%20Virtual%20machine%3A%20Availability%2C%20Down%20planned%2FUnplanned%20and%20Unknown%20in%20%25%3A%3C%2FP%3E%3CTABLE%20width%3D%22261%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%22156%22%3EAvailable%3C%2FTD%3E%3CTD%20width%3D%22105%22%3E%25%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22156%22%3EDown%20Unplanned%3C%2FTD%3E%3CTD%20width%3D%22105%22%3E%25%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22156%22%3EDown%20Planned%3C%2FTD%3E%3CTD%20width%3D%22105%22%3E%25%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%22156%22%3EUnknown%3C%2FTD%3E%3CTD%20width%3D%22105%22%3E%25%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20'Heartbeat'%20or%20if%20any%20other%20way.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1447653%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELog%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

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

Available%
Down Unplanned%
Down Planned%
Unknown%

 

Using 'Heartbeat' or if any other way.

1 Reply
Highlighted

@PrashantM2495 

 

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