Elasticsearch.yml changes are not reflecting

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

got this

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 :slight_smile:

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