Elasticsearch ccr metricsetedit

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.

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.


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": {
        "ccr": {
            "follower": {
                "global_checkpoint": 1,
                "index": "my_follower",
                "operations_indexed": 2,
                "shard": {
                    "number": 0
                "time_since_last_fetch": {
                    "ms": 4926
            "leader": {
                "index": "my_leader",
                "max_seq_no": 1
        "cluster": {
            "id": "KSGkOjOuSg6whAgtpPyhQw",
            "name": "elasticsearch"
    "metricset": {
        "host": "",
        "module": "elasticsearch",
        "name": "ccr",
        "rtt": 115
    "service": {
        "name": "elasticsearch"