System Filesystem Metricsetedit

The System filesystem metricset provides file system statistics. For each file system, one document is provided.

This metricset is available on:

  • Darwin
  • FreeBSD
  • Linux
  • OpenBSD
  • Windows


filesystem.ignore_types - A list of filesystem types to ignore. Metrics will not be collected from filesystems matching these types. This setting also affects the fsstats metricset.


Often there are mounted filesystems that you do not want Metricbeat to report metrics on. One option is to configure Metricbeat to ignore specific filesystem types. This can be accomplished by configuring filesystem.ignore_types with a list of filesystem types to ignore. In this example we are ignoring three types of filesystems.

  - module: system
    period: 30s
    metricsets: ["filesystem"]
    filesystem.ignore_types: [nfs, smbfs, autofs]

Another strategy to deal with these filesystems is to configure a drop_event filter that matches the mount_point using a regular expression. This type of filtering occurs after the data has been collected so it can be less efficient than the previous method.

  - module: system
    period: 30s
    metricsets: ["filesystem"]
      - drop_event.when.regexp.mount_point: '^/(sys|cgroup|proc|dev|etc|host)($|/)'


For a description of each field in the metricset, see the exported fields section.

Here is an example document generated by this metricset:

    "@timestamp": "2016-05-23T08:05:34.853Z",
    "beat": {
        "hostname": "",
        "name": ""
    "metricset": {
        "module": "system",
        "name": "filesystem",
        "rtt": 115
    "system": {
        "filesystem": {
            "available": 38688276480,
            "device_name": "none",
            "files": 3940352,
            "free": 41930997760,
            "free_files": 3276976,
            "mount_point": "/",
            "total": 63371726848,
            "used": {
                "bytes": 21440729088,
                "pct": 0.3383
    "type": "metricsets"