---
title: Etcd leader metricset
description: This is the leader metricset of the module etcd. This metrics is being read from the Etcd V2 endpoint and won’t show any activity regarding Etcd V3. This...
url: https://www.elastic.co/docs/reference/beats/metricbeat/metricbeat-metricset-etcd-leader
products:
  - Beats
  - Metricbeat
applies_to:
  - Elastic Stack: Generally available
---

# Etcd leader metricset
This is the leader metricset of the module etcd. This metrics is being read from the Etcd V2 endpoint and won’t show any activity regarding Etcd V3.
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.

## Fields

For a description of each field in the metricset, see the [exported fields](https://www.elastic.co/docs/reference/beats/metricbeat/exported-fields-etcd) section.
Here is an example document generated by this metricset:
```json
{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "etcd": {
        "api_version": "2",
        "leader": {
            "follower": {
                "id": "5a22bdba1efc5b4a",
                "latency":{ 
                    "ms": 0.001494 
                },
                "success_operations": 1248,
                "failed_operations": 0,
                "leader": "d3cf079af51fa9a8"
            }
        }
    },
    "event": {
        "dataset": "etcd.leader",
        "duration": 115000,
        "module": "etcd"
    },
    "metricset": {
        "name": "leader"
    },
    "service": {
        "address": "127.0.0.1:2379",
        "type": "etcd"
    }
}
```