Elasticsearch cluster_stats metricset

edit

Elasticsearch cluster_stats metricset

edit

This is the cluster_stats metricset of the Elasticsearch module. It interrogates the Cluster Stats API endpoint to fetch information about the Elasticsearch cluster.

Fields

edit

For 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": {
            "id": "6UTQ_iuNSzWP49zv99vxDg",
            "name": "elasticsearch",
            "stats": {
                "indices": {
                    "fielddata": {
                        "memory": {
                            "bytes": 1208
                        }
                    },
                    "shards": {
                        "count": 18,
                        "primaries": 18
                    },
                    "total": 18
                },
                "nodes": {
                    "count": 1,
                    "data": 1,
                    "master": 1
                },
                "status": "yellow"
            }
        }
    },
    "metricset": {
        "host": "127.0.0.1:9200",
        "module": "elasticsearch",
        "name": "cluster_stats",
        "namespace": "elasticsearch.cluster.stats",
        "rtt": 115
    },
    "service": {
        "name": "elasticsearch"
    }
}