Elasticsearch ccr metricset
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless
Generally available
Stack
Generally available
This is the ccr metricset of the Elasticsearch module. It uses the Cross-Cluster Replication Stats API endpoint to fetch metrics about cross-cluster replication from the Elasticsearch clusters that are participating in cross-cluster replication.
If the Elasticsearch cluster does not have cross-cluster replication enabled, this metricset will not collect metrics. A DEBUG log message about this will be emitted in the Metricbeat log.
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",
"elasticsearch": {
"ccr": {
"auto_follow": {
"failed": {
"follow_indices": {
"count": 0
},
"remote_cluster_state_requests": {
"count": 0
}
},
"success": {
"follow_indices": {
"count": 0
}
}
},
"bytes_read": 0,
"follower": {
"aliases_version": 1,
"global_checkpoint": -1,
"index": "rats",
"max_seq_no": -1,
"operations": {
"read": {
"count": 0
}
},
"operations_written": 0,
"settings_version": 1,
"shard": {
"number": 0
},
"time_since_last_read": {
"ms": 3095
}
},
"leader": {
"global_checkpoint": -1,
"index": "pied_piper",
"max_seq_no": -1
},
"read_exceptions": [],
"requests": {
"failed": {
"read": {
"count": 0
},
"write": {
"count": 0
}
},
"outstanding": {
"read": {
"count": 1
},
"write": {
"count": 0
}
},
"successful": {
"read": {
"count": 0
},
"write": {
"count": 0
}
}
},
"total_time": {
"read": {
"ms": 0,
"remote_exec": {
"ms": 0
}
},
"write": {
"ms": 0
}
},
"write_buffer": {
"operation": {
"count": 0
},
"size": {
"bytes": 0
}
}
},
"cluster": {
"id": "WocBBA0QRma0sGpdQ7vLfQ",
"name": "docker-cluster"
}
},
"event": {
"dataset": "elasticsearch.ccr",
"duration": 115000,
"module": "elasticsearch"
},
"metricset": {
"name": "ccr",
"period": 10000
},
"service": {
"address": "172.19.0.2:9200",
"name": "elasticsearch",
"type": "elasticsearch"
}
}