Remove indices filter.

This commit is contained in:
Orne Brocaar 2015-07-09 20:53:54 +02:00
parent 986b89f5ed
commit ec138cae62
1 changed files with 3 additions and 3 deletions

View File

@ -8,8 +8,8 @@ import (
"github.com/influxdb/telegraf/plugins" "github.com/influxdb/telegraf/plugins"
) )
const indicesStatsPath = "/_nodes/stats/indices" const indicesStatsPath = "/_nodes/stats"
const indicesStatsPathLocal = "/_nodes/_local/stats/indices" const indicesStatsPathLocal = "/_nodes/_local/stats"
type node struct { type node struct {
Host string `json:"host"` Host string `json:"host"`
@ -30,7 +30,7 @@ type node struct {
const sampleConfig = ` const sampleConfig = `
# specify a list of one or more Elasticsearch servers # specify a list of one or more Elasticsearch servers
servers = ["http://localhost:9200"] servers = ["http://localhost:9200"]
#
# set local to false when you want to read the indices stats from all nodes # set local to false when you want to read the indices stats from all nodes
# within the cluster # within the cluster
local = true local = true