Seems like elasticsearch is not reading my yml file

I am currently trying to set up two different elasticsearch nodes. I have the cluster label the same in both of the yml but different. When i look at marvel it doesn't show any of these name. When I try " curl -XGET 'http://localhost:9200/_cluster/health?pretty=true' " it says my cluster is named elastic search. Any idea what I did wrong?

What version, what do the configs look like?

elasticsearc =2.1.0

yml is

---------------------------------- Cluster -----------------------------------

Use a descriptive name for your cluster: dvo_elk_cluster

------------------------------------ Node ------------------------------------

Use a descriptive name for the node: dvo_es_4

How are you starting ES?

init.d script

Are both these nodes on the same server?

no different ones

When you start ES, what does the process look like. By that I mean start ES and then do a ps -ef|grep elasticsearch, then paste that.

the process is running, The ELK stack works, its just the naming conventions are off.

Right, but if you post what I asked then we can be sure it's looking for the config file in the same place you edited it.

java -Xms10g -Xmx10g -Djava.awt. headless=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupanc yFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -XX:+DisableExplicitGC -Dfile.encoding=UTF-8 -Djna.nosys=true -Des.path.home=/us r/share/elasticsearch -cp /usr/share/elasticsearch/lib/elasticsearch-2.1.0.jar:/ usr/share/elasticsearch/lib/* org.elasticsearch.bootstrap.Elasticsearch start -D es.pidfile=/var/run/elasticsearch/ -Des.default.path.home=/usr/ share/elasticsearch -Des.default.path.logs=/var/logs/elasticsearch -Des.defau -Des.default.path.conf=/etc/elasticsearch

And that is where you edited the elasticsearch.yml files?

yes it is

Weird, can you post your entire config file onto gist/pastebin/etc and link it here?

Ok, so the .yml file is pretty sensitive and that leading space on lines 17 and 23 are going to matter.
Remove that and you should be good.

thats It!! Thank you so much!

one last question, for both of my nodes to talk to each other, is there anything else I need to do in the yml?

Check out -

Also check out -

ok thank you!