Elasticsearch cluster_stats metricsetedit

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

Fieldsedit

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",
    "cluster_settings": {},
    "elasticsearch": {
        "cluster": {
            "id": "8l_zoGznQRmtoX9iSC-goA",
            "name": "docker-cluster",
            "stats": {
                "indices": {
                    "docs": {
                        "total": 223
                    },
                    "fielddata": {
                        "memory": {
                            "bytes": 0
                        }
                    },
                    "shards": {
                        "count": 8,
                        "primaries": 8
                    },
                    "store": {
                        "size": {
                            "bytes": 11701629
                        }
                    },
                    "total": 8
                },
                "license": {
                    "status": "",
                    "type": "platinum",
                    "expiry_date_in_millis": 0
                },
                "nodes": {
                    "count": 1,
                    "fs": {
                        "available": {
                            "bytes": 182713794560
                        },
                        "total": {
                            "bytes": 958613114880
                        }
                    },
                    "jvm": {
                        "max_uptime": {
                            "ms": 17857098
                        },
                        "memory": {
                            "heap": {
                                "max": {
                                    "bytes": 1073741824
                                },
                                "used": {
                                    "bytes": 615251232
                                }
                            }
                        }
                    },
                    "master": 1,
                    "versions": [
                        "8.0.0"
                    ]
                },
                "stack": {
                    "xpack": {
                        "ccr": {
                            "available": false,
                            "enabled": true
                        }
                    }
                },
                "state": {
                    "master_node": "0sZBDd6VQ4ObLacVSh65jw",
                    "nodes": {
                        "0sZBDd6VQ4ObLacVSh65jw": {
                            "attributes": {
                                "ml.machine_memory": "33300463616",
                                "ml.max_open_jobs": "20",
                                "transform.node": "true",
                                "xpack.installed": "true"
                            },
                            "ephemeral_id": "nqDXltxJTly70OWy95QfBw",
                            "name": "7d86b192e7ce",
                            "transport_address": "127.0.0.1:9300"
                        }
                    },
                    "nodes_hash": -575310727,
                    "state_uuid": "N0SOO0GZQICpIp19KZ27dg"
                },
                "status": "yellow"
            }
        },
        "version": 65
    },
    "event": {
        "dataset": "elasticsearch.cluster.stats",
        "duration": 115000,
        "module": "elasticsearch"
    },
    "metricset": {
        "name": "cluster_stats",
        "period": 10000
    },
    "service": {
        "address": "127.0.0.1:39279",
        "type": "elasticsearch"
    }
}