﻿---
title: Kubernetes state_pod metricset
description: This is the state_pod metricset of the Kubernetes module. For a description of each field in the metricset, see the exported fields section. Here is an...
url: https://www.elastic.co/elastic/docs-builder/docs/2857/reference/beats/metricbeat/metricbeat-metricset-kubernetes-state_pod
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Kubernetes state_pod metricset
This is the `state_pod` 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/2857/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.pod",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "namespace": "kube-system",
        "node": {
            "name": "kind-control-plane"
        },
        "pod": {
            "host_ip": "172.19.0.2",
            "ip": "172.19.0.2",
            "name": "kube-controller-manager-kind-control-plane",
            "status": {
                "phase": "running",
                "ready": "true",
                "ready_time": 1744115226,
                "scheduled": "true"
            }
        }
    },
    "metricset": {
        "name": "state_pod",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}
```