# Renaming clusters in ES 5.x

**URL:** <https://discuss.elastic.co/t/renaming-clusters-in-es-5-x/93165>\
**Category:** Elasticsearch\
**Created:** [July 14, 2017, 10:31am UTC](https://discuss.elastic.co/t/renaming-clusters-in-es-5-x/93165 "2017-07-14T10:31:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hio77](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@hio77](https://discuss.elastic.co/u/hio77)\
**Post date:** [July 14, 2017, 10:31am UTC](https://discuss.elastic.co/t/renaming-clusters-in-es-5-x/93165/1 "2017-07-14T10:31:20Z")

</div>

Hi there,

Have been messing with ELK for a few months now, and finally getting around to deploying.

being that i wish to use the server in production, with nodes for SSD/HDD I'm due to expand out of the single VM.  
So, spun up the new machines to load my data nodes on, started setting things up.

Struck me once i changed the existing node with about 30GB of data, soon as i change the [Cluster.name](http://Cluster.name), the data is gone.

Now logic says, quick google to the rescue! - it would seem the clustername in the data folder was removed as of 5.x [https://www.elastic.co/guide/en/elasticsearch/reference/current/\_path\_to\_data\_on\_disk.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/_path_to_data_on_disk.html)

At this point I'm stuck wondering, do i just roll with the default name and cringe just a little, do i migrate data then migrate back to the intended master/ingest?

I must note, before anyone jumps to it... Stack is purely used within the home, server monitoring, modem monitoring etc

Any ideas on changing the name would be appreciated 🙂

---

<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 11, 2017, 10:31am UTC](https://discuss.elastic.co/t/renaming-clusters-in-es-5-x/93165/2 "2017-08-11T10:31:21Z")

</div>

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