elasticsearchpyelasticsearch

Change cluster name in elastic search


How to rename the current cluster in elasticsearch config?

i want to rename the cluster without it going down if possible.


Solution

  • If you are having multi nodes cluster means, you can try updating cluster names in config file & directory name (if replicas enabled) one by one nodes; which is similar to rolling upgrade of the Elasticsearch.

    if you are using single node cluster means, you can attempt changing the cluster name in config file but restart of cluster will be needed to take effect change.