Adding disk mounts to metricbeat system module

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:
modules.d/system.yml:

- 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

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

Managed to solve it by adding an empty filesystem.ignore_types.

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

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