System fsstat metricset

edit

The System fsstat metricset provides overall file system statistics.

This metricset is available on:

  • FreeBSD
  • Linux
  • macOS
  • OpenBSD
  • Windows

Configuration

edit

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 filesystem metricset. If this option is not set, metricbeat ignores all types for virtual devices in systems where this information is available (e.g. all types marked as nodev in /proc/filesystems in Linux systems).

Fields

edit

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

Here is an example document generated by this metricset:

{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "agent": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "event": {
        "dataset": "system.fsstat",
        "duration": 115000,
        "module": "system"
    },
    "metricset": {
        "name": "fsstat"
    },
    "service": {
        "type": "system"
    },
    "system": {
        "fsstat": {
            "count": 37,
            "total_files": 11762339,
            "total_size": {
                "free": 168018972672,
                "total": 379794051072,
                "used": 211775078400
            }
        }
    }
}