Forum Discussion
Azure VMs host (platform) metrics (not guest metrics) to the log analytics workspace ?
Hi Team,
Can some one help me how to send Azure VMs host (platform) metrics (not guest metrics) to the log analytics workspace ?
Earlier some years ago I used to do it, by clicking on “Diagnostic Settings”, but now if I go to “Diagnostic Settings” tab its asking me to enable guest level monitoring (guest level metrics I don’t want) and pointing to a Storage Account. I don’t see the option to send the these metrics to Log analytics workspace.
I have around 500 azure VMs whose host (platform) metrics (not guest metrics) I want to send it to the log analytics workspace.
1 Reply
Go to the VM resource in Azure Portal
Navigate to Monitor → Metrics to confirm platform metrics are available.
Set Diagnostic Settings
In the VM blade, open Monitoring → Diagnostic settings.
Click + Add diagnostic setting.
Select Metrics (platform metrics).
Choose Send to Log Analytics workspace as the destination.
Pick your workspace.
Save.
Verify in Log Analytics
In your workspace, run a query such as:
InsightsMetrics
| where Namespace == "vm.azm.ms"
| summarize avg(Val) by Name, bin(TimeGenerated, 5m)
This confirms host metrics are flowing.