Elasticsearch.yml does not work in Windows

Hi, I installed elasticsearch in Windows.

I changed elasticsearch.yml ex) cluster name, node.name, node.master ....

I went to localhost:9200/ and checked http://localhost:9200/_cluster/health?pretty=true

However, it was not changed. It showed default setting.

I checked JDK environment variables.

plz help me

What method did you use (MSI or zip), and which version?

In which path? Is it possible you edited the wrong copy of the file?

Did you restart the Elasticsearch service first?

I downloaded elasticsearch-6.3.1.zip

The yml file was located in default config folder

After revising, i restarted the service.

I don't know why it does not read config file.

I put config condition respectively in terminal

for example, elasticsearch -Ecluster.name=my-cluster

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