WARNING: Version 6.0 of Metricbeat has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Elasticsearch node_stats metricset
editElasticsearch node_stats metricset
editThe node_stats
metricset interrogates the
Cluster API endpoint of
Elasticsearch to get the cluster nodes statistics. The data received is only for the local node so this Metricbeat has
to be run on each Elasticsearch node.
The indices stats are node-specific. That means for example the total number of docs reported by all nodes together is not the total number of documents in all indices as there can also be replicas.
Fields
editFor a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{ "@timestamp": "2016-05-23T08:05:34.853Z", "beat": { "hostname": "host.example.com", "name": "host.example.com" }, "elasticsearch": { "cluster": { "name": "elasticsearch" }, "node": { "name": "8zgOwJ24TMamDDH9amWINQ", "stats": { "indices": { "docs": { "count": 0, "deleted": 0 }, "segments": { "count": 0, "memory": { "bytes": 0 } }, "store": { "size": { "bytes": 0 } } }, "jvm": { "gc": { "collectors": { "old": { "collection": { "count": 1, "ms": 80 } }, "young": { "collection": { "count": 4, "ms": 151 } } } }, "mem": { "pools": { "old": { "max": { "bytes": 362414080 }, "peak": { "bytes": 20109096 }, "peak_max": { "bytes": 362414080 }, "used": { "bytes": 20109096 } }, "survivor": { "max": { "bytes": 17432576 }, "peak": { "bytes": 17432576 }, "peak_max": { "bytes": 17432576 }, "used": { "bytes": 17432560 } }, "young": { "max": { "bytes": 139591680 }, "peak": { "bytes": 139591680 }, "peak_max": { "bytes": 139591680 }, "used": { "bytes": 98778408 } } } } } } } }, "metricset": { "host": "127.0.0.1:9200", "module": "elasticsearch", "name": "node_stats", "namespace": "node.stats", "rtt": 115 } }