Elasticsearch shard metricsetedit

Warning

This 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 shard metricset interrogates the Cluster State API endpoint to fetch information about all shards.

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": {
            "name": "elasticsearch",
            "state": {
                "id": "dJaHX6fxSqSVMOsL4QZwwQ"
            }
        },
        "index": {
            "name": "filebeat-7.0.0-alpha1-2018.05.09"
        },
        "node": {
            "name": "523zXyT6TRWiqXcQItnkyQ"
        },
        "shard": {
            "primary": true,
            "state": "STARTED"
        }
    },
    "metricset": {
        "host": "127.0.0.1:9200",
        "module": "elasticsearch",
        "name": "shard",
        "namespace": "elasticsearch.shard",
        "rtt": 115
    },
    "service": {
        "name": "elasticsearch"
    }
}