Skip to content

collectors ElasticSearchCollector

Rob Smith edited this page Apr 19, 2013 · 12 revisions

ElasticSearchCollector

Collect the elasticsearch stats for the local node

Dependencies

  • urlib2

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
host 127.0.0.1 str
measure_collector_time False Collect the collector run time in ms bool
port 9200 int
stats jvm, thread_pool, indices, Available stats:
- jvm (JVM information)
- thread_pool (Thread pool information)
- indices (Individual index stats)
list

Example Output

servers.hostname.elasticsearch.disk.reads.count 55996
servers.hostname.elasticsearch.disk.reads.size 1235387392
servers.hostname.elasticsearch.disk.writes.count 5808198
servers.hostname.elasticsearch.disk.writes.size 23287275520
servers.hostname.elasticsearch.http.current 1
servers.hostname.elasticsearch.indices._all.datastore.size 2674
servers.hostname.elasticsearch.indices._all.docs.count 4
servers.hostname.elasticsearch.indices._all.docs.deleted 0
servers.hostname.elasticsearch.indices.datastore.size 22724243633
servers.hostname.elasticsearch.indices.docs.count 11968062
servers.hostname.elasticsearch.indices.docs.deleted 2692068
servers.hostname.elasticsearch.indices.test.datastore.size 2674
servers.hostname.elasticsearch.indices.test.docs.count 4
servers.hostname.elasticsearch.indices.test.docs.deleted 0
servers.hostname.elasticsearch.jvm.mem.pools.CMS_Old_Gen.used 530915016
servers.hostname.elasticsearch.network.tcp.active_opens 2299
servers.hostname.elasticsearch.process.cpu.percent 58
servers.hostname.elasticsearch.process.mem.resident 5192126464
servers.hostname.elasticsearch.process.mem.share 11075584
servers.hostname.elasticsearch.process.mem.virtual 7109668864
servers.hostname.elasticsearch.thread_pool.generic.threads 1

This file was generated from the python source

Please edit the source to make changes

Clone this wiki locally