Skip to content

Commit

Permalink
Updated elasticsearch.py url for local node stats
Browse files Browse the repository at this point in the history
Compatible with Elasticsearch v0.90 and v1.0.
  • Loading branch information
clayton555 committed Mar 11, 2014
1 parent 2ef35a0 commit e2cab65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collectors/elasticsearch/elasticsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def collect(self):
self.log.error('Unable to import json')
return {}

result = self._get('_cluster/nodes/_local/stats?all=true')
result = self._get('_nodes/_local/stats?all=true')
if not result:
return

Expand Down

0 comments on commit e2cab65

Please sign in to comment.