# Metricbeat - Azure: Linux OS Guest metrics not included in compute\_vm metricset

**URL:** <https://discuss.elastic.co/t/metricbeat-azure-linux-os-guest-metrics-not-included-in-compute-vm-metricset/314519>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [September 15, 2022, 2:00pm UTC](https://discuss.elastic.co/t/metricbeat-azure-linux-os-guest-metrics-not-included-in-compute-vm-metricset/314519 "2022-09-15T14:00:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harm](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Harm](https://discuss.elastic.co/u/Harm)\
**Post date:** [September 15, 2022, 2:00pm UTC](https://discuss.elastic.co/t/metricbeat-azure-linux-os-guest-metrics-not-included-in-compute-vm-metricset/314519/1 "2022-09-15T14:00:04Z")

</div>

Hi,

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:

```auto
- module: azure
  metricsets:
  - 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":{"file.name":"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.","service.name":"metricbeat","ecs.version":"1.6.0"}

Any chance we could have a look at this?  
Tnx!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 13, 2022, 4:00pm UTC](https://discuss.elastic.co/t/metricbeat-azure-linux-os-guest-metrics-not-included-in-compute-vm-metricset/314519/2 "2022-10-13T16:00:29Z")

</div>

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