﻿---
title: Kubernetes state_daemonset metricset
description: This is the state_daemonset 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/2987/reference/beats/metricbeat/metricbeat-metricset-kubernetes-state_daemonset
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Kubernetes state_daemonset metricset
This is the `state_daemonset` 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/2987/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.daemonset",
        "duration": 115000,
        "module": "kubernetes"
    },
    "kubernetes": {
        "daemonset": {
            "name": "kindnet",
            "replicas": {
                "available": 1,
                "desired": 1,
                "ready": 1,
                "unavailable": 0
            }
        },
        "namespace": "kube-system"
    },
    "metricset": {
        "name": "state_daemonset",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:55555",
        "type": "kubernetes"
    }
}
```