How to get node_id in json query?

"cluster_name" : "elasticsearch",
"nodes" : {
"ExaKHrlBREaM41s68j5zTQ" : {
"timestamp" : 1417529361647,
"name" : "Sleek",
"transport_address" : "inet[/192.168.2.117:9300]",
"host" : "localhost",
"ip" : [ "inet[/192.168.2.117:9300]", "NONE" ],
"indices" : {
"docs" : {
"count" : 0,
"deleted" : 0
},

Elasticsearch node id change from when every restart. I have get node id (look
at the code bold line)
. any idea?

Kodu buraya girin...

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1306108e-97b2-44e5-b17a-8d64a1a9da48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I don’t really get what you are looking for.
But may be you'd simply like to set node.name in elasticsearch.yml?

--
David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet https://twitter.com/dadoonet | @elasticsearchfr https://twitter.com/elasticsearchfr | @scrutmydocs https://twitter.com/scrutmydocs

Le 2 déc. 2014 à 15:14, Oğuzhan Coşkun oguzhan.cmd@gmail.com a écrit :

"cluster_name" : "elasticsearch",
"nodes" : {
"ExaKHrlBREaM41s68j5zTQ" : {
"timestamp" : 1417529361647,
"name" : "Sleek",
"transport_address" : "inet[/192.168.2.117:9300]",
"host" : "localhost",
"ip" : [ "inet[/192.168.2.117:9300]", "NONE" ],
"indices" : {
"docs" : {
"count" : 0,
"deleted" : 0
},

Elasticsearch node id change from when every restart. I have get node id (look at the code bold line). any idea?

Kodu buraya girin...

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1306108e-97b2-44e5-b17a-8d64a1a9da48%40googlegroups.com https://groups.google.com/d/msgid/elasticsearch/1306108e-97b2-44e5-b17a-8d64a1a9da48%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/36FECB82-1B8D-4EC2-98C9-0014F4E52607%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.