Name: collectd-elasticsearch
Owner: HubSpot
Description: CollectD ElasticSearch plugin
Forked from: signalfx/collectd-elasticsearch
Created: 2016-06-04 11:50:02.0
Updated: 2018-05-21 21:28:09.0
Pushed: 2018-05-21 21:28:07.0
Homepage:
Size: 86
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
Elasticsearch CollectD plugin
A CollectD plugin to collect Elasticsearch stats and metrics. Uses CollectD's Python plugin.
Installation
- Place
elasticsearch_collectd.py
in /opt/collectd/lib/collectd/plugins/python
(assuming you have collectd installed to /opt/collectd
).
- Configure the plugin (see below).
- Restart collectd.
Requirements
- collectd 4.9+
- Elasticsearch 1.x or newer.
Configuration
See elasticsearch.conf
The plugin will automatically determine the version of Elasticsearch you are running.
Per-index and cluster stats can be disabled if needed; they are enabled by default.
If you are running the Elasticsearch plugin via a collectd deployment within a container, please configure the Host and Port values inside of the 20-elasticsearch.conf file that correspond to the desired Elasticsearch instance.
ex:
ule "elasticsearch_collectd">
ost "XXX.XXX.XXX.XXX"
ort "XXXX"
dule>
Metrics
Node stats
- Documents (total docs & deleted docs)
- Store size
- Indexing (total, time, total delete, delete time)
- Get (total, time, exists total, exists time, missing total, missing time)
- Search (total query, total time, total fetch, total fetch time)
- JVM uptime
- JVM memory (heap commited, heap Used, non heap commited, non heap used)
- JVM threads (count & peak)
- JVM GC (time & count)
- Transport stats (server open, RX count, RX size, TX count, TX size)
- HTTP stats (current open & total open)
- OS stats (CPU percent, file descriptors)
- Thread pool stats (generic, index, get, snapshot, merge, optimize, bulk, warmer, flush, search, refresh)
- Cache (field eviction, field size, filter evictions, filter size)
- JVM collectors
- FLush (total count, total time)
- Merges (current count, current docs, current size, merge total size, docs a time)
- Refresh (Total & Time)
Index stats
- Transaction log (size, number of operations)
- Most of the common stats per index and per primary vs. total.
Cluster stats
- Shard stats (active, initializing, relocating, unassigned, primaries)
- Nodes (total, data nodes)