stack es ilm move-to-step cli command
Auth required
elastic stack es ilm move-to-step \
--index <index> \
--current-step <current-step> \
--next-step <next-step> \
[options]
Move to a lifecycle step.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--indexstringrequired- The name of the index whose lifecycle step is to change
--current-stepstringrequired- The step that the index is expected to be in.
--next-stepstringrequired- The step that you want to run.
--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON