Retrieve node.data and http.enabled settings from elasticsearch.yml or API remotely


(Arkadiy Rudin) #1

Hi,

Working on setting up some custom console for ES clusters.
We are having some nodes acting as clients only and some as data nodes only.
Just wondering how to retrieve the type of the node using REST or Java API.

Sincerely,

Arkadiy

--
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/28a5772c-024b-41f7-854e-55128fac341e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Mark Walkom) #2

Check out this page -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-info.html
There is also the cat API -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cat-nodes.html

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 6 May 2014 06:52, Arkadiy Rudin arkrud85@gmail.com wrote:

Hi,

Working on setting up some custom console for ES clusters.
We are having some nodes acting as clients only and some as data nodes
only.
Just wondering how to retrieve the type of the node using REST or Java API.

Sincerely,

Arkadiy

--
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/28a5772c-024b-41f7-854e-55128fac341e%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/28a5772c-024b-41f7-854e-55128fac341e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit 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/CAEM624a5s67HpkOM2qCgDuHZp6Smqje-h2wRmUYmyzKRXSvQvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Arkadiy Rudin) #3

Thank You Mark!!!
_cat/nodes is exactly what I need
_nodes as I can see only provides master status but but not client/data
status

On Monday, May 5, 2014 6:37:41 PM UTC-4, Mark Walkom wrote:

Check out this page -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cluster-nodes-info.html
There is also the cat API -
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/cat-nodes.html

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: ma...@campaignmonitor.com <javascript:>
web: www.campaignmonitor.com

On 6 May 2014 06:52, Arkadiy Rudin <arkr...@gmail.com <javascript:>>wrote:

Hi,

Working on setting up some custom console for ES clusters.
We are having some nodes acting as clients only and some as data nodes
only.
Just wondering how to retrieve the type of the node using REST or Java
API.

Sincerely,

Arkadiy

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/28a5772c-024b-41f7-854e-55128fac341e%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/28a5772c-024b-41f7-854e-55128fac341e%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit 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/42025663-d55c-49a9-b2ed-6a43d2de554f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4