# Metricbeat on Windows only returns volumes with drive letter

**URL:** <https://discuss.elastic.co/t/metricbeat-on-windows-only-returns-volumes-with-drive-letter/345807>\
**Category:** Beats\
**Tags:** windows, metricbeat\
**Created:** [October 26, 2023, 11:55am UTC](https://discuss.elastic.co/t/metricbeat-on-windows-only-returns-volumes-with-drive-letter/345807 "2023-10-26T11:55:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenmich](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@kenmich](https://discuss.elastic.co/u/kenmich)\
**Post date:** [October 26, 2023, 11:55am UTC](https://discuss.elastic.co/t/metricbeat-on-windows-only-returns-volumes-with-drive-letter/345807/1 "2023-10-26T11:55:58Z")

</div>

I'm running metricbeat 8.10.2 on Windows Server Core 2022. It's a physical server with multiple physical disks, where only one of these is mounted with a drive letter (C:).

All other disk, both SATA and NVMe are mounted as mount points without a drive letter. metricbeat doesn't seem to ship any metrics for these volumes.

How can I enable this?

According to the documentation, this should be sufficient to return metrics for all volumes:

```auto
(..)
- module: system
  metricsets:
  - diskio
(..)
  diskio.include_devices: []

```

If I specify the name of the volumes in `diskio.include_devices`, nothing is shipped. Only if I include "C:".

---

<div class="post-metadata">

**Author:** ![suman.kumar](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@suman.kumar](https://discuss.elastic.co/u/suman.kumar)\
**Post date:** [November 1, 2023, 2:33pm UTC](https://discuss.elastic.co/t/metricbeat-on-windows-only-returns-volumes-with-drive-letter/345807/2 "2023-11-01T14:33:05Z")

</div>

Hi @kenmich

You can enable the "windows" module through the perfmon.

Following configuration is for shipping the data for drive "% Free Space" from the perfmon counter.

![windows](https://us1.discourse-cdn.com/elastic/original/3X/3/b/3bcadb53526339fc96c62ba4d400b491135721f2.png)

Hope it may help you to achieve your requirements.

Thanks..!!

---

<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:** [November 29, 2023, 4:33pm UTC](https://discuss.elastic.co/t/metricbeat-on-windows-only-returns-volumes-with-drive-letter/345807/3 "2023-11-29T16:33:56Z")

</div>

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