Memcached stats metricset

edit

This is the stats metricset of the Memcached module.

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": "memcached.stats",
        "duration": 115000,
        "module": "memcached"
    },
    "memcached": {
        "stats": {
            "bytes": {
                "current": 0,
                "limit": 67108864
            },
            "cmd": {
                "get": 0,
                "set": 0
            },
            "connections": {
                "current": 10,
                "total": 135
            },
            "evictions": 0,
            "get": {
                "hits": 0,
                "misses": 0
            },
            "items": {
                "current": 0,
                "total": 0
            },
            "pid": 1,
            "read": {
                "bytes": 18
            },
            "threads": 4,
            "uptime": {
                "sec": 139
            },
            "written": {
                "bytes": 2616
            }
        }
    },
    "metricset": {
        "name": "stats"
    },
    "service": {
        "address": "172.26.0.2:11211",
        "type": "memcached"
    }
}