phobos182/collectd-elasticsearch

Indice related data in ES 1.0

Closed this issue · 1 comments

fdv commented

Hello,

On the ES 1.0 version you're using /_nodes/stats instead of /_cluster/nodes/_local/stats, then parse only one result whatever the node you're graphing.

Unfortunately, it f#@ up all the indices metrics when the ES cluster is split into routing nodes and data nodes as your plugin may try to track indices related metrics from the query node.

/_nodes/stats is equal to /_nodes/all/stats, using /_nodes/_local/stats which fixes the problem on non data node.

So it there a reason why you use /_nodes/all/stats?

This is an issue for everything else too: e.g. jvm node stats are wrong as they are not relative to the node