IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Elasticsearch ccr metricset
editElasticsearch ccr metricset
editThis 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.
Fields
editFor 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" } }