# Logstash.yaml configuration xpack.management.elasticsearch.hosts (Elastic 7.10.)

**URL:** <https://discuss.elastic.co/t/logstash-yaml-configuration-xpack-management-elasticsearch-hosts-elastic-7-10/301114>\
**Category:** Logstash\
**Created:** [March 30, 2022, 3:22pm UTC](https://discuss.elastic.co/t/logstash-yaml-configuration-xpack-management-elasticsearch-hosts-elastic-7-10/301114 "2022-03-30T15:22:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![newschapmj1](https://avatars.discourse-cdn.com/v4/letter/n/dbc845/32.png) [@newschapmj1](https://discuss.elastic.co/u/newschapmj1)\
**Post date:** [March 30, 2022, 3:22pm UTC](https://discuss.elastic.co/t/logstash-yaml-configuration-xpack-management-elasticsearch-hosts-elastic-7-10/301114/1 "2022-03-30T15:22:12Z")

</div>

We have a 7 node Elasticsearch cluster (v7.10).

Is it good practice to point xpack.management.Elasticsearch.hosts: to all the cluster nodes ?

At the moment it is pointing to the 1st 3 nodes which was the original cluster size.  
We later increased the cluster to 7 nodes.

---

<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:** [April 27, 2022, 3:22pm UTC](https://discuss.elastic.co/t/logstash-yaml-configuration-xpack-management-elasticsearch-hosts-elastic-7-10/301114/2 "2022-04-27T15:22:47Z")

</div>

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