Get the migration reindexing status Technical preview; Added in 8.18.0

GET /_migration/reindex/{index}/_status

Get the status of a migration reindex attempt for a data stream or index.

Path parameters

  • index string | array[string] Required

    The index or data stream name.

Responses

GET /_migration/reindex/my-data-stream/_status
resp = client.perform_request(
    "GET",
    "/_migration/reindex/my-data-stream/_status",
)
const response = await client.transport.request({
  method: "GET",
  path: "/_migration/reindex/my-data-stream/_status",
});
response = client.perform_request(
  "GET",
  "/_migration/reindex/my-data-stream/_status",
  {},
)
$requestFactory = Psr17FactoryDiscovery::findRequestFactory();
$request = $requestFactory->createRequest(
    "GET",
    "/_migration/reindex/my-data-stream/_status",
);
$resp = $client->sendRequest($request);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_migration/reindex/my-data-stream/_status"
client.indices().getMigrateReindexStatus(g -> g
    .index("my-data-stream")
);