Closed
Description
I created a follower index, kibana_sample_data_logs
.
Then I paused the follower index using:
POST /kibana_sample_data_logs/_ccr/pause_follow
Then I attempted to retrieve the stats of the follower index using both:
GET /kibana_sample_data_logs/_ccr/stats
and
GET /_ccr/stats
Neither one lists kibana_sample_data_logs
as part of indices
array. I resumed the follower using:
POST /kibana_sample_data_logs/_ccr/resume_follow
{}
and then the stats API showed the correct information.
For CCR UI, we need the stats API to:
- Show paused follower indices
- Show status for each follower index - whether it is paused or active. Could just be a boolean
paused
flag.
This will make it so that we can give the user the correct option in the UI (whether to resume or pause follower index based on its status).
cc @elastic/es-ui