# Elasticsearch.yml changes are not reflecting

**URL:** https://discuss.elastic.co/t/elasticsearch-yml-changes-are-not-reflecting/181672
**Category:** Elasticsearch
**Created:** [May 18, 2019, 7:48am UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-are-not-reflecting/181672 "2019-05-18T07:48:26Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![pathri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pathri/32/54484_2.png) [@pathri](https://discuss.elastic.co/u/pathri)
#### Post date: [May 18, 2019, 7:48am UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-are-not-reflecting/181672/1 "2019-05-18T07:48:27Z")

</div>

below is my es.yml file

# ---------------------------------- Cluster -----------------------------------

cluster.name: NewCluster

# ------------------------------------ Node ------------------------------------

node.name: NewNode1  
#node.attr.rack: r1

# ----------------------------------- Paths ------------------------------------

path.data: /var/lib/elasticsearch

# 

# Path to log files:

# 

path.logs: /var/log/elasticsearch

but when i am restarting , it is showing the earlier values and not reflecting the correct one i.e

root@ubu1604elk:/# curl localhost:9200  
{  
"name" : "test-node1",  
"cluster\_name" : "Testing",  
"cluster\_uuid" : "S6ngSp\_dRUmO945r1WB5qw",  
"version" : {  
"number" : "6.7.1",  
"build\_flavor" : "default",  
"build\_type" : "deb",  
"build\_hash" : "2f32220",  
"build\_date" : "2019-04-02T15:59:27.961366Z",  
"build\_snapshot" : false,  
"lucene\_version" : "7.7.0",  
"minimum\_wire\_compatibility\_version" : "5.6.0",  
"minimum\_index\_compatibility\_version" : "5.0.0"  
},  
"tagline" : "You Know, for Search"  
}

what are the possible reasons for this?

Thanks in advance

---

<div class="post-metadata">

### Author: ![pathri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pathri/32/54484_2.png) [@pathri](https://discuss.elastic.co/u/pathri)
#### Post date: [May 18, 2019, 8:07am UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-are-not-reflecting/181672/2 "2019-05-18T08:07:10Z")

</div>

got this

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [May 19, 2019, 1:37pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-are-not-reflecting/181672/3 "2019-05-19T13:37:37Z")

</div>

Please format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

<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: [June 16, 2019, 1:37pm UTC](https://discuss.elastic.co/t/elasticsearch-yml-changes-are-not-reflecting/181672/4 "2019-06-16T13:37:37Z")

</div>

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