A newer version is available. For the latest information, see the
current release documentation.
Cluster Routing
editCluster Routing
editaction: cluster_routing description: "Apply routing rules to the entire cluster" options: routing_type: value: setting: enable wait_for_completion: False timeout_override: continue_if_exception: False disable_action: False
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/shards-allocation.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- routing_type (required)
- value (required)
-
setting Currently must be set to
enable
. This setting is a placeholder for potential future expansion.
Optional settings
edit- wait_for_completion (has a default value which can optionally be changed)
- timeout_override (can override the default timeout)
- continue_if_exception (has a default value which can optionally be changed)
- disable_action (has a default value which can optionally be changed)
See an example of this action in an actionfile here.