# Elasticsearch cluster name in yml file

**URL:** <https://discuss.elastic.co/t/elasticsearch-cluster-name-in-yml-file/380643>\
**Category:** Elasticsearch\
**Created:** [July 31, 2025, 10:15pm UTC](https://discuss.elastic.co/t/elasticsearch-cluster-name-in-yml-file/380643 "2025-07-31T22:15:26Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 2, 2025, 12:35am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-name-in-yml-file/380643/5 "2025-08-02T00:35:46Z")

</div>

When renaming a cluster requires full restart... Ie shut down entire cluster then start them... You can do 1 by one but you should be able to start them all and if properly configured the cluster will sort itself out

> [@How to change the cluster name of an elk cluster with 3 master nodes](https://discuss.elastic.co/t/how-to-change-the-cluster-name-of-an-elk-cluster-with-3-master-nodes/332564/2):
>
> That's correct, you will have to shut down all the nodes, adjust their config, and then start them all up again. Edit: I don't see this in the docs today so I opened [#95858](https://github.com/elastic/elasticsearch/pull/95858).

[Cluster Name Settings](https://www.elastic.co/guide/en/elasticsearch/reference/8.18/misc-cluster-settings.html#cluster-name)

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-cluster-name-in-yml-file/380643)._
