System memory metricsetedit

The System memory metricset provides memory statistics.

This metricset is available on:

  • FreeBSD
  • Linux
  • macOS
  • OpenBSD
  • Windows

Configurationedit

There are no configuration options for this metricset.

Fieldsedit

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.memory",
        "duration": 115000,
        "module": "system"
    },
    "metricset": {
        "name": "memory"
    },
    "service": {
        "type": "system"
    },
    "system": {
        "memory": {
            "actual": {
                "free": 4974256128,
                "used": {
                    "bytes": 11597463552,
                    "pct": 0.6998
                }
            },
            "free": 1320112128,
            "hugepages": {
                "default_size": 2097152,
                "free": 0,
                "reserved": 0,
                "surplus": 0,
                "total": 0,
                "used": {
                    "bytes": 0,
                    "pct": 0
                }
            },
            "swap": {
                "free": 3482378240,
                "total": 8589930496,
                "used": {
                    "bytes": 5107552256,
                    "pct": 0.5946
                }
            },
            "total": 16571719680,
            "used": {
                "bytes": 15251607552,
                "pct": 0.9203
            }
        }
    }
}