Elasticsearch ccr metricset

edit

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.

Fields

edit

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_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"
    }
}