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.baner...@paytm.com>:

> 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+unsubscr...@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+unsubscr...@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.

Reply via email to