# Correct way of configuring metricbeat

**URL:** <https://discuss.elastic.co/t/correct-way-of-configuring-metricbeat/279929>\
**Category:** Beats\
**Tags:** elastic-stack-monitoring, beats-module, metricbeat\
**Created:** [July 29, 2021, 5:02am UTC](https://discuss.elastic.co/t/correct-way-of-configuring-metricbeat/279929 "2021-07-29T05:02:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aniket\_Pant](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Post date:** [July 29, 2021, 5:02am UTC](https://discuss.elastic.co/t/correct-way-of-configuring-metricbeat/279929/1 "2021-07-29T05:02:13Z")

</div>

I am running 11 nodes of elasticsearch cluster which include the following

1. Three master nodes
2. Six data nodes
3. 2 coordinate nodes

Earlier i installed and setup metricbeat in all nodes but it leads to consumption of high storage nearly around 150 gb per day

now i installed and setup metricbeat in master nodes only and set `scope: cluster` but it is not working there is no `.monitoring-es-mb-*'` index  
so i want to know **what is the correct way of configuring metricbeat ?**

---

<div class="post-metadata">

**Author:** ![mtojek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mtojek/32/63863_2.png) [@mtojek](https://discuss.elastic.co/u/mtojek)\
**Post date:** [August 3, 2021, 9:55am UTC](https://discuss.elastic.co/t/correct-way-of-configuring-metricbeat/279929/2 "2021-08-03T09:55:36Z")

</div>

Have you read this guide: [Monitor a cluster | Elasticsearch Guide [master] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html) ?

---

<div class="post-metadata">

**Author:** ![Aniket\_Pant](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Post date:** [August 8, 2021, 10:40am UTC](https://discuss.elastic.co/t/correct-way-of-configuring-metricbeat/279929/3 "2021-08-08T10:40:46Z")

</div>

Yeah I solved by installing metricbeat only in master nodes and add `scope:cluster` in `elasticsearch-xpack.yam` file

---

<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:** [September 5, 2021, 12:41pm UTC](https://discuss.elastic.co/t/correct-way-of-configuring-metricbeat/279929/4 "2021-09-05T12:41:22Z")

</div>

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