Type to search.

Reindex legacy backing indices

  • POST /_migration/reindex
Auth The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability Preview since 8.18 This functionality is in technical preview and is ready for evaluation. Use with caution in production; it is not recommended for mission-critical workloads. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Specific Support terms apply. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.

Reindex all legacy backing indices for a data stream. This operation occurs in a persistent task. The persistent task ID is returned immediately and the reindexing work is completed in that task.

Request body

mode enum required

Reindex mode. Currently only 'upgrade' is supported.

Values: upgrade
source object required

The source index or data stream (only data streams are currently supported).

index string required

Response

application/json
acknowledged boolean required

For a successful response, this value is always true. On failure, an exception is returned instead.