﻿---
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/elastic/docs-builder/docs/2626/reference/beats/metricbeat/metricbeat-metricset-kubernetes-state_statefulset
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Stack: Generally available in 9.0+
---

# 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/elastic/docs-builder/docs/2626/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": 1744115807,
            "generation": {
                "desired": 1,
                "observed": 1
            },
            "name": "basic-sts",
            "replicas": {
                "desired": 1,
                "observed": 1,
                "ready": 1
            }
        }
    },
    "metricset": {
        "name": "state_statefulset",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}
```