Closeedit

action: close
description: "Close selected indices"
options:
  delete_aliases: False
  timeout_override:
  continue_if_exception: False
  disable_action: 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 closes the selected indices, and optionally deletes associated aliases beforehand.

Optional settingsedit

See an example of this action in an actionfile here.