System memory metricset

edit

The System memory metricset provides memory statistics.

This metricset is available on:

  • FreeBSD
  • Linux
  • macOS
  • OpenBSD
  • Windows

Configuration

edit

There are no configuration options for this metricset.

This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

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.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
            }
        }
    }
}