---
title: Memcached stats metricset
description: 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...
url: https://www.elastic.co/docs/reference/beats/metricbeat/metricbeat-metricset-memcached-stats
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Memcached stats metricset
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

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/docs/reference/beats/metricbeat/exported-fields-memcached) section.
Here is an example document generated by this metricset:
```json
{
    "@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"
    }
}
```