Allocation

edit
action: allocation
description: "Apply shard allocation filtering rules to the specified indices"
options:
  key:
  value:
  allocation_type:
  wait_for_completion: 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 changes the shard routing allocation for the selected indices.

See https://www.elastic.co/guide/en/elasticsearch/reference/current/shard-allocation-filtering.html for more information.

You can optionally set wait_for_completion to True to have Curator wait for the shard routing to complete before continuing. If this option is chosen, it is advisable to use the timeout_override option in order to avoid client timeouts.

Required settings

edit

Optional settings

edit

See an example of this action in an actionfile here.