Elasticsearch node_stats metricset
editElasticsearch node_stats metricset
editThis functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.
The 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": "2017-10-12T08:05:34.853Z", "beat": { "hostname": "host.example.com", "name": "host.example.com" }, "elasticsearch": { "cluster": { "name": "elasticsearch" }, "node": { "name": "523zXyT6TRWiqXcQItnkyQ", "stats": { "fs": { "summary": { "available": { "bytes": 47081816064 }, "free": { "bytes": 52054323200 }, "total": { "bytes": 250790436864 } } }, "indices": { "docs": { "count": 231, "deleted": 56 }, "segments": { "count": 16, "memory": { "bytes": 105245 } }, "store": { "size": { "bytes": 444882 } } }, "jvm": { "gc": { "collectors": { "old": { "collection": { "count": 2, "ms": 139 } }, "young": { "collection": { "count": 56, "ms": 1288 } } } }, "mem": { "pools": { "old": { "max": { "bytes": 724828160 }, "peak": { "bytes": 225180248 }, "peak_max": { "bytes": 724828160 }, "used": { "bytes": 225180248 } }, "survivor": { "max": { "bytes": 34865152 }, "peak": { "bytes": 34865152 }, "peak_max": { "bytes": 34865152 }, "used": { "bytes": 5280456 } }, "young": { "max": { "bytes": 279183360 }, "peak": { "bytes": 279183360 }, "peak_max": { "bytes": 279183360 }, "used": { "bytes": 188134984 } } } } } } } }, "metricset": { "host": "127.0.0.1:9200", "module": "elasticsearch", "name": "node_stats", "namespace": "elasticsearch.node.stats", "rtt": 115 }, "service": { "name": "elasticsearch" } }