Metricbeat - Azure: Linux OS Guest metrics not included in compute_vm metricset


I have created a data collection rule in Azure Monitor to collect both Windows and Linux Guest OS metrics (type: Performance Counters). I was happily surprised to see that the Windows Guest OS metrics are already collected by the compute_vm metricset (metricbeat 8.3.3). However the Linux ones aren't included, which looks incorrect to me.

The configuration I've used is:

- module: azure
  - compute_vm
  enabled: true
  period: 300s
  client_id: '${AZURE_CLIENT_ID:"xxxxx-yyyyy-zzzzz"}'
  client_secret: '${AZURE_CLIENT_SECRET:"xxxxx-yyyyy-zzzzz"}'
  tenant_id: '${AZURE_TENANT_ID:"xxxxx-yyyyy-zzzzz"}'
  subscription_id: '${AZURE_SUBSCRIPTION_ID:"xxxxx-yyyyy-zzzzz"}'
  refresh_list_interval: 600s`

In Discover I see the following two namespaces included:

  • Microsoft.Compute/virtualMachines
  • Azure.VM.Windows.GuestMetrics

But I am missing:

  • Azure.VM.Linux.GuestMetrics

The metricbeat log is also showing things like this:

{"log.level":"info","@timestamp":"2022-09-15T15:29:22.224+0200","log.logger":"azure monitor client","log.origin":{"":"monitor/client_helper.go","file.line":33},"message":"no metric definitions were found for resource /subscriptions/xxxxxxx/resourceGroups/rg-xxx-eu-west-01/providers/Microsoft.Compute/virtualMachines/nlaz-linux-vm and namespace Azure.VM.Windows.GuestMetrics. Verify if the namespace is spelled correctly or if it is supported by the resource in case.","":"metricbeat","ecs.version":"1.6.0"}

Any chance we could have a look at this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.