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

# Beat state metricset
This is the state metricset of the beat module.

## Fields

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/elastic/docs-builder/docs/2970/reference/beats/metricbeat/exported-fields-beat) section.
Here is an example document generated by this metricset:
```json
{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "beat": {
        "elasticsearch": {
            "cluster": {
                "id": "foobar"
            }
        },
        "state": {
            "beat": {
                "host": "2963d991095f",
                "name": "2963d991095f",
                "type": "metricbeat",
                "uuid": "c4c9bc08-e990-4529-8bf5-715c00fa6615",
                "version": "7.12.0"
            },
            "cluster": {
                "uuid": "foobar"
            },
            "host": {
                "containerized": "containerized",
                "os": {
                    "kernel": "5.14.13-200.fc34.x86_64",
                    "name": "CentOS Linux",
                    "platform": "centos",
                    "version": "7 (Core)"
                }
            },
            "management": {
                "enabled": false
            },
            "module": {
                "count": 10
            },
            "output": {
                "name": "elasticsearch"
            },
            "queue": {
                "name": "mem"
            },
            "service": {
                "id": "c4c9bc08-e990-4529-8bf5-715c00fa6615",
                "name": "metricbeat",
                "version": "7.12.0"
            }
        }
    },
    "event": {
        "dataset": "beat.state",
        "duration": 115000,
        "module": "beat"
    },
    "host": {
        "architecture": "x86_64",
        "hostname": "2963d991095f",
        "id": "44ccc339d95bd51386fcfc5d8f041927"
    },
    "metricset": {
        "name": "state",
        "period": 10000
    },
    "service": {
        "address": "172.19.0.2:5066",
        "type": "beat"
    }
}
```