# Metricbeat is not sending cluster\_stats for elasticsearch module

**URL:** https://discuss.elastic.co/t/metricbeat-is-not-sending-cluster-stats-for-elasticsearch-module/240688
**Category:** Beats
**Tags:** metricbeat
**Created:** [July 10, 2020, 11:23am UTC](https://discuss.elastic.co/t/metricbeat-is-not-sending-cluster-stats-for-elasticsearch-module/240688 "2020-07-10T11:23:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Yousaf\_Syed](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yousaf_syed/32/71945_2.png) [@Yousaf\_Syed](https://discuss.elastic.co/u/Yousaf_Syed)
#### Post date: [July 10, 2020, 11:23am UTC](https://discuss.elastic.co/t/metricbeat-is-not-sending-cluster-stats-for-elasticsearch-module/240688/1 "2020-07-10T11:23:04Z")

</div>

Hello,  
I am trying to monitor our elastic search cluster 2.x with metricbeat 7.7.1. Metricbeat is sending over the data for shards, indicex, node, node\_stats but for some reason its not sending over cluster\_stats metric set.

configurations for elasticsearch module.

```auto
# Module: elasticsearch
# Docs: https://www.elastic.co/guide/en/beats/metricbeat/7.2/metricbeat-module-elasticsearch.html
- module: elasticsearch
  metricsets:
      - node
      - node_stats
      - shard 
      - cluster_stats  
  period: 10s
  hosts: ["http://localhost:9200"]

```

metricbeat logs do not show any errors related to cluster\_stats, any advice on this would be really helpful.

Thanks in advance

---

<div class="post-metadata">

### Author: ![ChrsMark](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chrsmark/32/55858_2.png) [@ChrsMark](https://discuss.elastic.co/u/ChrsMark)
#### Post date: [July 13, 2020, 7:23am UTC](https://discuss.elastic.co/t/metricbeat-is-not-sending-cluster-stats-for-elasticsearch-module/240688/2 "2020-07-13T07:23:45Z")

</div>

Hi!

I would suggest to isolate the issue by running Metricbeat in debug mode with only this specific metricset enabled:

```auto
- module: elasticsearch
  metricsets:
      - cluster_stats  
  period: 10s
  hosts: ["http://localhost:9200"]

```

and then run metricbeat in debug mode: `./metricbeat -e -d "*"`  
Is there anything suspicious in the logs? Could you share any logs too?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [August 10, 2020, 9:24am UTC](https://discuss.elastic.co/t/metricbeat-is-not-sending-cluster-stats-for-elasticsearch-module/240688/3 "2020-08-10T09:24:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
