Elasticsearch ccr metricset

This is the ccr metricset of the Elasticsearch module. It interrogates the Cross Cluster Replication Stats API endpoint to fetch information about shards in the Elasticsearch cluster that are participating in cross-cluster replication.

Fields

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",
    "agent": {
        "hostname": "host.example.com",
        "name": "host.example.com"
    },
    "elasticsearch": {
        "ccr": {
            "follower": {
                "global_checkpoint": -1,
                "index": "my_index_f",
                "operations_written": 0,
                "shard": {
                    "number": 0
                },
                "time_since_last_read": {
                    "ms": 42294
                }
            },
            "leader": {
                "index": "my_index",
                "max_seq_no": -1
            }
        },
        "cluster": {
            "id": "3LbUkLkURz--FR-YO0wLNA",
            "name": "es1"
        }
    },
    "metricset": {
        "host": "127.0.0.1:9200",
        "module": "elasticsearch",
        "name": "ccr",
        "rtt": 115
    },
    "service": {
        "name": "elasticsearch"
    }
}