# Replace legacy collector with metricbeat

**URL:** <https://discuss.elastic.co/t/replace-legacy-collector-with-metricbeat/272952>\
**Category:** Beats\
**Tags:** elastic-stack-monitoring, metricbeat\
**Created:** [May 13, 2021, 8:06pm UTC](https://discuss.elastic.co/t/replace-legacy-collector-with-metricbeat/272952 "2021-05-13T20:06:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kodka](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@kodka](https://discuss.elastic.co/u/kodka)\
**Post date:** [May 13, 2021, 8:06pm UTC](https://discuss.elastic.co/t/replace-legacy-collector-with-metricbeat/272952/1 "2021-05-13T20:06:50Z")

</div>

I can't understand how this works:  
What metricsets do i need to have enabled in order to have everything that legacy collectors scrapes as data.  
And do i need to have different metricsets configured for master and data nodes?

---

<div class="post-metadata">

**Author:** ![kodka](https://avatars.discourse-cdn.com/v4/letter/k/da6949/32.png) [@kodka](https://discuss.elastic.co/u/kodka)\
**Post date:** [June 8, 2021, 8:52am UTC](https://discuss.elastic.co/t/replace-legacy-collector-with-metricbeat/272952/2 "2021-06-08T08:52:52Z")

</div>

I found the answer - here is detailed information about which metricsets needs to be enabled on master and data nodes - [Collectors | Elasticsearch Guide [7.13] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/es-monitoring-collectors.html)

---

<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:** [July 6, 2021, 10:53am UTC](https://discuss.elastic.co/t/replace-legacy-collector-with-metricbeat/272952/3 "2021-07-06T10:53:09Z")

</div>

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