47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
[role="xpack"]
|
|
[testenv="platinum"]
|
|
[[ccr-get-auto-follow-stats]]
|
|
=== Get Auto-Follow Stats API
|
|
++++
|
|
<titleabbrev>Get Auto-Follow Stats</titleabbrev>
|
|
++++
|
|
|
|
Get auto-follow stats.
|
|
|
|
==== Description
|
|
|
|
This API gets stats about auto-follow patterns.
|
|
|
|
==== Request
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
GET /_ccr/auto_follow/stats
|
|
--------------------------------------------------
|
|
// CONSOLE
|
|
// TEST
|
|
|
|
==== Example
|
|
|
|
This example retrieves stats about auto-follow patterns:
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
GET /_ccr/auto_follow/stats
|
|
--------------------------------------------------
|
|
// CONSOLE
|
|
// TEST
|
|
|
|
The API returns the following result:
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
{
|
|
"number_of_successful_follow_indices" : 16,
|
|
"number_of_failed_follow_indices" : 0,
|
|
"number_of_failed_remote_cluster_state_requests" : 0,
|
|
"recent_auto_follow_errors" : [ ]
|
|
}
|
|
--------------------------------------------------
|
|
// TESTRESPONSE[s/"number_of_successful_follow_indices" : 16/"number_of_successful_follow_indices" : $body.number_of_successful_follow_indices/]
|