How to retrieve cluster and node stats on data node when disable http (http.enabled: false)

hi there,

i followed the recommendation from
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-node.html
to create dedicated master, client and data nodes. for my master and data
nodes, i disabled http.enabled so they will communicate via transport 9300.
however, previously we were using curl localhost:9200/_cluster/stats and
/_node/stats to fetch monitoring stats(e.g. heap usage, num of docs, thread
counts, and etc). my question is how can i fetch these monitoring stats
anymore? i searched and read thru elasticsearch doc but couldn't find it.

please help.

thanks and really appreciate for any help.

--
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/2a031652-baab-4a34-901c-a8cd5807efd4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

How do you search in your cluster?
Are you using Java Client?

Le 22 oct. 2014 à 03:17, Terence Tung terence@teambanjo.com a écrit :

hi there,

i followed the recommendation from Elasticsearch Platform — Find real-time answers at scale | Elastic to create dedicated master, client and data nodes. for my master and data nodes, i disabled http.enabled so they will communicate via transport 9300. however, previously we were using curl localhost:9200/_cluster/stats and /_node/stats to fetch monitoring stats(e.g. heap usage, num of docs, thread counts, and etc). my question is how can i fetch these monitoring stats anymore? i searched and read thru elasticsearch doc but couldn't find it.

please help.

thanks and really appreciate for any help.

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/2a031652-baab-4a34-901c-a8cd5807efd4%40googlegroups.com.
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/6A004C59-3769-4107-A296-ED64B5110BDF%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

the search is still using HTTP API, we have an ELB and 3 dedicated client
nodes behind ELB, so all search request will go thru that ELB via HTTP. so
monitoring stats on client node doesn't have problem, the problem is i
cannot do "curl localhost:9200" on the dedicated master and data nodes.

On Tuesday, October 21, 2014 11:13:37 PM UTC-7, David Pilato wrote:

How do you search in your cluster?
Are you using Java Client?

Le 22 oct. 2014 à 03:17, Terence Tung <ter...@teambanjo.com <javascript:>>
a écrit :

hi there,

i followed the recommendation from
Elasticsearch Platform — Find real-time answers at scale | Elastic
to create dedicated master, client and data nodes. for my master and data
nodes, i disabled http.enabled so they will communicate via transport 9300.
however, previously we were using curl localhost:9200/_cluster/stats and
/_node/stats to fetch monitoring stats(e.g. heap usage, num of docs, thread
counts, and etc). my question is how can i fetch these monitoring stats
anymore? i searched and read thru elasticsearch doc but couldn't find it.

please help.

thanks and really appreciate for any help.

--
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/2a031652-baab-4a34-901c-a8cd5807efd4%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/2a031652-baab-4a34-901c-a8cd5807efd4%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/514cce92-3c5f-4c23-a825-6105f89d18a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

can anyone please help? thanks.

On Wednesday, October 22, 2014 9:58:35 AM UTC-7, Terence Tung wrote:

the search is still using HTTP API, we have an ELB and 3 dedicated client
nodes behind ELB, so all search request will go thru that ELB via HTTP. so
monitoring stats on client node doesn't have problem, the problem is i
cannot do "curl localhost:9200" on the dedicated master and data nodes.

On Tuesday, October 21, 2014 11:13:37 PM UTC-7, David Pilato wrote:

How do you search in your cluster?
Are you using Java Client?

Le 22 oct. 2014 à 03:17, Terence Tung ter...@teambanjo.com a écrit :

hi there,

i followed the recommendation from
Elasticsearch Platform — Find real-time answers at scale | Elastic
to create dedicated master, client and data nodes. for my master and data
nodes, i disabled http.enabled so they will communicate via transport 9300.
however, previously we were using curl localhost:9200/_cluster/stats and
/_node/stats to fetch monitoring stats(e.g. heap usage, num of docs, thread
counts, and etc). my question is how can i fetch these monitoring stats
anymore? i searched and read thru elasticsearch doc but couldn't find it.

please help.

thanks and really appreciate for any help.

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/2a031652-baab-4a34-901c-a8cd5807efd4%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/2a031652-baab-4a34-901c-a8cd5807efd4%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/dff901a8-09e2-4689-a0e5-523191722c17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hello,

This works for SPM http://sematext.com/spm/:
https://sematext.atlassian.net/wiki/display/PUBSPM/SPM+FAQ#SPMFAQ-CanSPMcollectmetricsevenwhenElasticsearchHTTPAPIisdisabled?
so maybe it will work for you, too.

Otis

Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/

On Tuesday, October 21, 2014 9:17:23 PM UTC-4, Terence Tung wrote:

hi there,

i followed the recommendation from
Elasticsearch Platform — Find real-time answers at scale | Elastic
to create dedicated master, client and data nodes. for my master and data
nodes, i disabled http.enabled so they will communicate via transport 9300.
however, previously we were using curl localhost:9200/_cluster/stats and
/_node/stats to fetch monitoring stats(e.g. heap usage, num of docs, thread
counts, and etc). my question is how can i fetch these monitoring stats
anymore? i searched and read thru elasticsearch doc but couldn't find it.

please help.

thanks and really appreciate for any help.

--
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/68510f29-c9cb-40d8-a006-57dc3a4fb6c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

that's a good trick! thanks Otis!

On Thursday, October 23, 2014 8:27:37 PM UTC-7, Otis Gospodnetic wrote:

Hello,

This works for SPM http://sematext.com/spm/:
https://sematext.atlassian.net/wiki/display/PUBSPM/SPM+FAQ#SPMFAQ-CanSPMcollectmetricsevenwhenElasticsearchHTTPAPIisdisabled?
so maybe it will work for you, too.

Otis

Monitoring * Alerting * Anomaly Detection * Centralized Log Management
Solr & Elasticsearch Support * http://sematext.com/

On Tuesday, October 21, 2014 9:17:23 PM UTC-4, Terence Tung wrote:

hi there,

i followed the recommendation from
Elasticsearch Platform — Find real-time answers at scale | Elastic
to create dedicated master, client and data nodes. for my master and data
nodes, i disabled http.enabled so they will communicate via transport 9300.
however, previously we were using curl localhost:9200/_cluster/stats and
/_node/stats to fetch monitoring stats(e.g. heap usage, num of docs, thread
counts, and etc). my question is how can i fetch these monitoring stats
anymore? i searched and read thru elasticsearch doc but couldn't find it.

please help.

thanks and really appreciate for any help.

--
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/ecce5f3e-22d3-4207-98b7-c530019adbfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.