Delete Indicesedit

action: delete_indices
description: "Delete selected indices"
options:
  continue_if_exception: False
filters:
- filtertype: ...

Empty values and commented lines will result in the default value, if any, being selected. If a setting is set, but not used by a given action, it will be ignored.

This action deletes the selected indices.

In clusters which are overcrowded with indices, or a high number of shards per node, deletes can take a longer time to process. In such cases, it may be helpful to set a higher timeout than is set in the configuration file. You can override that timeout as follows:

action: delete_indices
description: "Delete selected indices"
options:
  timeout_override: 300
  continue_if_exception: False
filters:
- filtertype: ...

Optional settingsedit

See an example of this action in an actionfile here.