# Adding disk mounts to metricbeat system module

**URL:** <https://discuss.elastic.co/t/adding-disk-mounts-to-metricbeat-system-module/290849>\
**Category:** Beats\
**Tags:** beats-module, metricbeat\
**Created:** [December 3, 2021, 8:00am UTC](https://discuss.elastic.co/t/adding-disk-mounts-to-metricbeat-system-module/290849 "2021-12-03T08:00:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kshepitzki1](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@kshepitzki1](https://discuss.elastic.co/u/kshepitzki1)\
**Post date:** [December 3, 2021, 8:00am UTC](https://discuss.elastic.co/t/adding-disk-mounts-to-metricbeat-system-module/290849/1 "2021-12-03T08:00:39Z")

</div>

Trying to configure the metricbeat system module to monitor additional mounted drives for free disk space % on Linux.  
This document does not help: [https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-filesystem.html:](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-metricset-system-filesystem.html:)  
modules.d/system.yml:

```auto
- module: system
  period: 10s
  metricsets:
    - cpu
    - load
    - memory
    - network
    - process
    - process_summary
    - socket_summary
  process.include_top_n:
    by_cpu: 5 # include top 5 processes by CPU
    by_memory: 5 # include top 5 processes by memory
container
  #system.hostfs: "/hostfs"
- module: system
  period: 1m
  metricsets:
    - filesystem
    - fsstat
  processors:
  - drop_event.when.regexp:
      system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'
- module: system
  period: 15m
  metricsets:
    - uptime

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 6, 2021, 1:56am UTC](https://discuss.elastic.co/t/adding-disk-mounts-to-metricbeat-system-module/290849/2 "2021-12-06T01:56:01Z")

</div>

Are you saying you have it configured and it's not working?

---

<div class="post-metadata">

**Author:** ![kshepitzki1](https://avatars.discourse-cdn.com/v4/letter/k/7ea924/32.png) [@kshepitzki1](https://discuss.elastic.co/u/kshepitzki1)\
**Post date:** [December 6, 2021, 5:52am UTC](https://discuss.elastic.co/t/adding-disk-mounts-to-metricbeat-system-module/290849/3 "2021-12-06T05:52:49Z")

</div>

Managed to solve it by adding an empty filesystem.ignore\_types.

```auto
> - module: system
> period: 10s
> filesystem.ignore_types: []

```

---

<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 3, 2022, 5:53am UTC](https://discuss.elastic.co/t/adding-disk-mounts-to-metricbeat-system-module/290849/4 "2022-01-03T05:53:12Z")

</div>

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