System memory metricset

The System memory metricset provides memory statistics.

This metricset is available on:

  • FreeBSD
  • Linux
  • macOS
  • OpenBSD
  • Windows

Configuration

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

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",
    "event": {
        "dataset": "system.memory",
        "duration": 115000,
        "module": "system"
    },
    "metricset": {
        "name": "memory"
    },
    "service": {
        "type": "system"
    },
    "system": {
        "memory": {
            "actual": {
                "free": 671084544,
                "used": {
                    "bytes": 362037248,
                    "pct": 0.3504
                }
            },
            "free": 340848640,
            "hugepages": {
                "default_size": 2097152,
                "free": 0,
                "reserved": 0,
                "surplus": 0,
                "swap": {
                    "out": {
                        "fallback": 0,
                        "pages": 0
                    }
                },
                "total": 0,
                "used": {
                    "bytes": 0,
                    "pct": 0
                }
            },
            "swap": {
                "free": 0,
                "in": {
                    "pages": 0
                },
                "out": {
                    "pages": 0
                },
                "readahead": {
                    "cached": 0,
                    "pages": 0
                },
                "total": 0,
                "used": {
                    "bytes": 0,
                    "pct": 0
                }
            },
            "total": 1033121792,
            "used": {
                "bytes": 692273152,
                "pct": 0.6701
            }
        }
    }
}