<div dir="ltr">Hey we're still unable to solve this problem... I was wondering if anyone has any thoughts? I've tried narrowing the stats down so that the JSON being returned looks this simple:<div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">{<br> "cluster_name": "nsp-es-staging-us1",<br> "nodes": {<br> "zDQZnKxxQPC1uOe7qZYHcA": {<br> "timestamp": 1449605835281,<br> "name": "staging-us1-es-access-uswest2-5-i-bd52dd64-nsp-es-staging-us1",<br> "transport_address": "inet[/<a href="http://10.32.17.234:9300">10.32.17.234:9300</a>]",<br> "host": "xxx,<br> "ip": [<br> "inet[/<a href="http://10.32.17.234:9300">10.32.17.234:9300</a>]",<br> "NONE"<br> ],<br> "attributes": {<br> "aws_availability_zone": "us-west-2a",<br> "data": "false",<br> "master": "true"<br> },<br> "http": {<br> "current_open": 8,<br> "total_opened": 114<br> }<br> }<br> }<br>}</blockquote></div><div><br></div><div>and with this very simple elasticsearch.conf file:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">LoadPlugin curl_json<br><Plugin curl_json><br> <URL "<a href="http://127.0.0.1:9200/_nodes/_local/stats/http?pretty=true">http://127.0.0.1:9200/_nodes/_local/stats/http?pretty=true</a>"><br> Instance "elasticsearch"<br> <Key "nodes/zDQZnKxxQPC1uOe7qZYHcA/http/current_open"><br> Type "gauge"<br> Instance "http_current_open"<br> </Key><br> </URL><br></Plugin></blockquote><div><br></div><div>And we're *still* not even getting that metric to come through the system.. can anyone help here? </div></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">Matt Wise<div>Sr. Systems Architect</div><div>Nextdoor.com</div></div></div></div>
<br><div class="gmail_quote">On Wed, Aug 5, 2015 at 12:53 PM, Matt Wise <span dir="ltr"><<a href="mailto:matt@nextdoor.com" target="_blank">matt@nextdoor.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In our environment, we're using Collectd 4.10.1 (I know ... old as dirt, but its a requirement of RightScale) and we are trying to leverage the curl_json plugin to pull metrics from our ElasticSearch cluster. We have the metrics coming in properly from <a href="http://localhost:9200/_cluster/stats" target="_blank">http://localhost:9200/_cluster/stats</a> and <a href="http://localhost:9200/_cluster/health" target="_blank">http://localhost:9200/_cluster/health</a>.<div><br></div><div>What we can't get working though are *any* metrics from <a href="http://localhost:9200/_nodes/_local/stats" target="_blank">http://localhost:9200/_nodes/_local/stats</a>. No matter how many or few metrics I define, and no matter whether I use 'nodes/*/...' or 'nodes/<insert node id here>/...', I cannot seem to get any data from this endpoint.</div><div><br></div><div>Here is our entire collectd elasticsearch.conf file, and a real copy of the raw node stats json output:</div><div> <a href="https://gist.github.com/diranged/ac7d2edb45b0eba00d42" target="_blank">https://gist.github.com/diranged/ac7d2edb45b0eba00d42</a></div><div><br></div><div>Any ideas on what might be going on? I can't seem to get any debug logs either, and unfortunately the collectd-dbg package for 4.10.1 is not available it seems like, so we're really hamstrung here.</div><div><br></div><div>I have verified that ..</div><div> .. Collectd is indeed making the curl call to ElasticSearch and the response is coming back properly (via strace, and tcpdump)</div><div> .. Replacing '*' with 'HYUqTMnfSgmvd87_o3UPLw' (the node id) in the config file does not help</div><div> .. Dropping all the way down to a single metric (jvm/mem/heap_used_in_bytes) does not help</div><div><div><div><br></div><div>Can anyone help here?</div><span class="HOEnZb"><font color="#888888"><div><br clear="all"><div><div><div dir="ltr">Matt Wise<div>Sr. Systems Architect</div><div>Nextdoor.com</div></div></div></div>
</div></font></span></div></div></div>
</blockquote></div><br></div>