# How to monitor %free disk space via metricbeat on windows server

**URL:** <https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [November 30, 2020, 12:30pm UTC](https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062 "2020-11-30T12:30:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hunter\_puu](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@hunter\_puu](https://discuss.elastic.co/u/hunter_puu)\
**Post date:** [November 30, 2020, 12:30pm UTC](https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062/1 "2020-11-30T12:30:09Z")

</div>

I am newbie on ELK. i want to monitor %free disk space on windows server via metric beat. Anybody can show parameter on windows.yml for solve this issue.

Thank you.

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [November 30, 2020, 12:45pm UTC](https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062/2 "2020-11-30T12:45:54Z")

</div>

Hi!

It could `system.filesystem.free`from [https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html#\_filesystem\_2](https://www.elastic.co/guide/en/beats/metricbeat/current/exported-fields-system.html#_filesystem_2) be the metric you are looking for? Is so you will need to install metricbeat and enable the proper metricset to collect this metric.

C.

---

<div class="post-metadata">

**Author:** ![hunter\_puu](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@hunter\_puu](https://discuss.elastic.co/u/hunter_puu)\
**Post date:** [November 30, 2020, 2:25pm UTC](https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062/3 "2020-11-30T14:25:26Z")

</div>

> [@ChrsMark](#):
>
> `system.filesystem.free` from

My ideal module system maybe not compatible with Windows Server OS. i just enable windows module only in metric beat. like this -\> [[Windows perfmon metricset | Metricbeat Reference [8.11] | Elastic](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-windows-perfmon.html)]([https://Window](https://Window) performance metrics) but i not found example to config monitor % free disk space on windows

Thank you.

---

<div class="post-metadata">

**Author:** ![hunter\_puu](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@hunter\_puu](https://discuss.elastic.co/u/hunter_puu)\
**Post date:** [December 3, 2020, 6:29am UTC](https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062/4 "2020-12-03T06:29:24Z")

</div>

May be like this

- object: "LogicalDisk"  
instance: ["C:"]  
counters:
  - name: "% Free Space"  
field: system.filesystem.free.pct  
format: "float"

---

<div class="post-metadata">

**Author:** ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)\
**Post date:** [December 4, 2020, 9:55am UTC](https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062/5 "2020-12-04T09:55:01Z")

</div>

HI! I don't think this config will work.

I see [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-diskio.html](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-diskio.html) metricset is available for Windows. Could you check this out?

---

<div class="post-metadata">

**Author:** ![hunter\_puu](https://avatars.discourse-cdn.com/v4/letter/h/85e7bf/32.png) [@hunter\_puu](https://discuss.elastic.co/u/hunter_puu)\
**Post date:** [December 7, 2020, 7:03am UTC](https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062/6 "2020-12-07T07:03:56Z")

</div>

![disk](https://us1.discourse-cdn.com/elastic/original/3X/0/e/0eeecf2a722de2f8b003b7d4d30c1bebf6b0447c.jpeg)

---

<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:** [January 4, 2021, 9:04am UTC](https://discuss.elastic.co/t/how-to-monitor-free-disk-space-via-metricbeat-on-windows-server/257062/7 "2021-01-04T09:04:00Z")

</div>

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