linux memory metricsetedit

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

The memory metricset extends system/memory and adds linux-specific memory metrics, including Huge Pages and overall paging statistics.

as of now, this data is part of system/memory on Metricbeat, but can only be found in the Linux integration in Fleet. In the future, this data will be removed from system/memory.

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

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",
    "event": {
        "dataset": "linux.memory",
        "duration": 115000,
        "module": "linux"
    },
    "linux": {
        "memory": {
            "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.9839
                },
                "kswapd_efficiency": {
                    "pct": 0.7739
                },
                "pgfree": {
                    "pages": 40941189636
                },
                "pgscan_direct": {
                    "pages": 1199988
                },
                "pgscan_kswapd": {
                    "pages": 19970993
                },
                "pgsteal_direct": {
                    "pages": 1180686
                },
                "pgsteal_kswapd": {
                    "pages": 15456470
                }
            }
        }
    },
    "metricset": {
        "name": "memory",
        "period": 10000
    },
    "service": {
        "type": "linux"
    }
}