While curator
is a fantastic tool, I wish it was showing the approximate time remaining for a re-indexing process.
Right now, I calculate the approximate time using the following:
-
Fire
GET _tasks?detailed=true&actions=*reindex&filter_path=**.name,**.total,**.created,**.description
and get the values ofstatus.total
andstatus.created
for an index. -
Go to Indices tab in Monitoring UI in kibana and get the indexing rate. Say it is
500/s
. I believe it can be calculated programmatically as described here. -
(status.total - status.created) / (500 *60)
gives me the number of minutes it will take for the re-indexing to complete.
Is this the correct approach? Could someone share their thoughts please.
Thanks,
Sandeep