Elasticsearch node metricsetedit

The node metricset interrogates the Cluster API endpoint of Elasticsearch to get cluster nodes information. This metricset only fetches the data from the _local node so it must run on each Elasticsearch node.

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",
    "beat": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "elasticsearch": {
        "cluster": {
            "id": "wafoCXEDTrGxpYViNueSaA",
            "name": "es1"
        },
        "node": {
            "id": "v5gHTHqKSRa4bZ9vbyDy7g",
            "jvm": {
                "memory": {
                    "heap": {
                        "init": {
                            "bytes": 1073741824
                        },
                        "max": {
                            "bytes": 1037959168
                        }
                    },
                    "nonheap": {
                        "init": {
                            "bytes": 7667712
                        },
                        "max": {
                            "bytes": 0
                        }
                    }
                },
                "version": "11.0.1"
            },
            "name": "es1_1",
            "process": {
                "mlockall": false
            },
            "version": "7.0.0"
        }
    },
    "metricset": {
        "host": "127.0.0.1:9200",
        "module": "elasticsearch",
        "name": "node",
        "rtt": 115
    },
    "service": {
        "name": "elasticsearch"
    }
}