Path parameters
- index
string | array[string] Required A comma-delimited list of follower index patterns.
Query parameters
- master_timeout
string The period to wait for a connection to the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to
-1
to indicate that the request should never timeout.Values are
-1
or0
.
GET /{index}/_ccr/info
Console
GET /follower_index/_ccr/info
resp = client.ccr.follow_info(
index="follower_index",
)
const response = await client.ccr.followInfo({
index: "follower_index",
});
response = client.ccr.follow_info(
index: "follower_index"
)
$resp = $client->ccr()->followInfo([
"index" => "follower_index",
]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/follower_index/_ccr/info"
Response examples (200)
An active follower index
A successful response from `GET /follower_index/_ccr/info` when the follower index is active.
{
"follower_indices": [
{
"follower_index": "follower_index",
"remote_cluster": "remote_cluster",
"leader_index": "leader_index",
"status": "active",
"parameters": {
"max_read_request_operation_count": 5120,
"max_read_request_size": "32mb",
"max_outstanding_read_requests": 12,
"max_write_request_operation_count": 5120,
"max_write_request_size": "9223372036854775807b",
"max_outstanding_write_requests": 9,
"max_write_buffer_count": 2147483647,
"max_write_buffer_size": "512mb",
"max_retry_delay": "500ms",
"read_poll_timeout": "1m"
}
}
]
}
A successful response from `GET /follower_index/_ccr/info` when the follower index is paused.
{
"follower_indices": [
{
"follower_index": "follower_index",
"remote_cluster": "remote_cluster",
"leader_index": "leader_index",
"status": "paused"
}
]
}