Start or resume reindexing
- Base URL
-
https://{kibana_url}
- POST /api/upgrade_assistant/reindex/{index}
Start a new reindex or resume a paused reindex. The following steps are performed during a reindex task:
- Set the index to read-only.
- Create a new index.
- Reindex documents into the new index.
- Create an index alias for the new index.
- Delete the old index.
Response
Indicates a successful call.
-
lastCompletedStepinteger -
The last successfully completed step of the reindex. For example:
0: The reindex task has been created in Kibana. -10: The index group services stopped. Only applies to some system indices. -20: The index is set to readonly. -30: The new destination index has been created. -40: The reindex task in Elasticsearch has started. -50: The reindex task in Elasticsearch has completed. -60: Aliases were created to point to the new index, and the old index has been deleted. -70: The index group services have resumed. Only applies to some system indices.
-
reindexTaskIdstring -
The task ID of the reindex task in Elasticsearch. This value appears when the reindexing starts.