Unique node id for elasticsearch node

Hi,

I want to know the node unique ID for an elasticsearch node via an API.
There is
https://www.elastic.co/guide/en/elasticsearch/reference/1.3/cat-nodes.html
but it only shows a four letter abbreviated ID. I need the full ID so I can
parse the output of
https://www.elastic.co/guide/en/elasticsearch/reference/1.5/cluster-nodes-stats.html
which requires prior knowledge of node ID.

Please help.

--

Debayan Banerjee
devOps engineer
+91 8800846550

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/CAOvawCtU3-%3DdY4a%3DmFJuDERRPRX0S8HL0BD7qVYbW6JRFaLGsg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hi,
You can use full_id parameter with _cat API.

"GET _cat/nodes?v&full_id=true&h=id"

PS - We're moving to https://discuss.elastic.co/, please join us there for
any future discussions!

2015-05-25 20:40 GMT+09:00 Debayan Banerjee debayan.banerjee@paytm.com:

Hi,

I want to know the node unique ID for an elasticsearch node via an API.
There is
cat nodes | Elasticsearch Guide [1.3] | Elastic
but it only shows a four letter abbreviated ID. I need the full ID so I can
parse the output of
Nodes Stats | Elasticsearch Guide [1.5] | Elastic
which requires prior knowledge of node ID.

Please help.

--

Debayan Banerjee
devOps engineer
+91 8800846550

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/CAOvawCtU3-%3DdY4a%3DmFJuDERRPRX0S8HL0BD7qVYbW6JRFaLGsg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAOvawCtU3-%3DdY4a%3DmFJuDERRPRX0S8HL0BD7qVYbW6JRFaLGsg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--

Jun Ohtani
blog : http://blog.johtani.info

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/CAPW8A5xiZn_HR3wwMJ84gigEYf5aXv2kzG8CAZiLRHU4%3Dj0kWw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thanks a lot!

On Tue, May 26, 2015 at 8:17 AM, Jun Ohtani johtani@gmail.com wrote:

Hi,
You can use full_id parameter with _cat API.

"GET _cat/nodes?v&full_id=true&h=id"

PS - We're moving to https://discuss.elastic.co/, please join us there
for any future discussions!

2015-05-25 20:40 GMT+09:00 Debayan Banerjee debayan.banerjee@paytm.com:

Hi,

I want to know the node unique ID for an elasticsearch node via an API.
There is
cat nodes | Elasticsearch Guide [1.3] | Elastic
but it only shows a four letter abbreviated ID. I need the full ID so I can
parse the output of
Nodes Stats | Elasticsearch Guide [1.5] | Elastic
which requires prior knowledge of node ID.

Please help.

--

Debayan Banerjee
devOps engineer
+91 8800846550

--
Please update your bookmarks! We have moved to
https://discuss.elastic.co/

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/CAOvawCtU3-%3DdY4a%3DmFJuDERRPRX0S8HL0BD7qVYbW6JRFaLGsg%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAOvawCtU3-%3DdY4a%3DmFJuDERRPRX0S8HL0BD7qVYbW6JRFaLGsg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--

Jun Ohtani
blog : http://blog.johtani.info

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/CAPW8A5xiZn_HR3wwMJ84gigEYf5aXv2kzG8CAZiLRHU4%3Dj0kWw%40mail.gmail.com
https://groups.google.com/d/msgid/elasticsearch/CAPW8A5xiZn_HR3wwMJ84gigEYf5aXv2kzG8CAZiLRHU4%3Dj0kWw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--

Debayan Banerjee
devOps engineer
+91 8800846550

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/

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/CAOvawCtP7sdW5Cat3oi-jS74y1c3x9_1ikvh%3DajPPWsUBDmVHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.