elastic / elasticsearch

Free and Open, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.51k stars 24.6k forks source link

Add multi-target syntax support to the Move to lifecycle step API #90039

Open joegallo opened 2 years ago

joegallo commented 2 years ago

Description

Add Multi-target syntax to the _ilm/move API.

On occasion it has been necessary to _ilm/move many indices (dozens or hundreds) through the same from-step-to-step transition. At present, the API only accepts a single index, so this requires iteration elsewhere (e.g. a bash or powershell script). It would be better if ILM supported that use case directly.

elasticsearchmachine commented 2 years ago

Pinging @elastic/es-data-management (Team:Data Management)