Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices Added in 6.5.0
Path parameters
-
A comma-separated list of index patterns; use
_all
to perform the operation on all indices
GET /{index}/_ccr/stats
curl \
-X GET http://api.example.com/{index}/_ccr/stats
Response examples (200)
{
"indices": [
{
"index": "string",
"shards": [
{
"bytes_read": 42.0,
"failed_read_requests": 42.0,
"failed_write_requests": 42.0,
"fatal_exception": {
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
]
},
"follower_aliases_version": 42.0,
"follower_global_checkpoint": 42.0,
"follower_index": "string",
"follower_mapping_version": 42.0,
"follower_max_seq_no": 42.0,
"follower_settings_version": 42.0,
"last_requested_seq_no": 42.0,
"leader_global_checkpoint": 42.0,
"leader_index": "string",
"leader_max_seq_no": 42.0,
"operations_read": 42.0,
"operations_written": 42.0,
"outstanding_read_requests": 42.0,
"outstanding_write_requests": 42.0,
"read_exceptions": [
{}
],
"remote_cluster": "string",
"shard_id": 42.0,
"successful_read_requests": 42.0,
"successful_write_requests": 42.0,
"time_since_last_read": "string",
"": 42.0,
"total_read_remote_exec_time": "string",
"total_read_time": "string",
"total_write_time": "string",
"write_buffer_operation_count": 42.0
}
]
}
]
}