---
title: Kubernetes state_statefulset metricset
description: This is the state_statefulset metricset of the Kubernetes module. For a description of each field in the metricset, see the exported fields section. Here...
url: https://www.elastic.co/docs/reference/beats/metricbeat/metricbeat-metricset-kubernetes-state_statefulset
---

# Kubernetes state_statefulset metricset

This is the `state_statefulset` metricset of the Kubernetes module.

## Fields

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/docs/reference/beats/metricbeat/exported-fields-kubernetes) section.
Here is an example document generated by this metricset:
```json
{
    "@timestamp": "2019-03-01T08:05:34.853Z",
    "event": {
        "dataset": "kubernetes.statefulset",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "namespace": "default",
        "statefulset": {
            "created": 1713862291,
            "generation": {
                "desired": 1,
                "observed": 1
            },
            "name": "web",
            "replicas": {
                "desired": 1,
                "observed": 1,
                "ready": 1
            }
        }
    },
    "metricset": {
        "name": "state_statefulset",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}
```
