IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
System memory metricset
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
System memory metricset
editThe System memory metricset provides memory statistics.
This metricset is available on:
- FreeBSD
- Linux
- macOS
- OpenBSD
- Windows
Configuration
editThere 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
editFor 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",
"period": 10000
},
"service": {
"type": "system"
},
"system": {
"memory": {
"actual": {
"free": 14247317504,
"used": {
"bytes": 1407057920,
"pct": 0.0899
}
},
"free": 4859097088,
"hugepages": {
"default_size": 2097152,
"free": 0,
"reserved": 0,
"surplus": 0,
"swap": {
"out": {
"fallback": 0,
"pages": 0
}
},
"total": 0,
"used": {
"bytes": 0,
"pct": 0
}
},
"page_stats": {
"direct_efficiency": {
"pct": 0.9976
},
"kswapd_efficiency": {
"pct": 0.6213
},
"pgfree": {
"pages": 4382105954
},
"pgscan_direct": {
"pages": 485820
},
"pgscan_kswapd": {
"pages": 77390925
},
"pgsteal_direct": {
"pages": 484631
},
"pgsteal_kswapd": {
"pages": 48081976
}
},
"swap": {
"free": 7846490112,
"in": {
"pages": 1111
},
"out": {
"pages": 20255
},
"readahead": {
"cached": 28,
"pages": 65
},
"total": 7897870336,
"used": {
"bytes": 51380224,
"pct": 0.0065
}
},
"total": 15654375424,
"used": {
"bytes": 10795278336,
"pct": 0.6896
}
}
}
}