- Curator Index Management:
- About
- Getting Started
- Command Line
- Configuration
- Actions
- Options
- allocation_type
- extra_settings
- continue_if_exception
- count
- delay
- delete_aliases
- disable_action
- ignore_empty_list
- ignore_unavailable
- include_aliases
- include_global_state
- key
- max_num_segments
- name
- partial
- rename_pattern
- rename_replacement
- repository
- retry_count
- retry_interval
- skip_repo_fs_check
- timeout_override
- value
- wait_for_completion
- Filters
- Filter Elements
- Frequently Asked Questions
- Q: How can I report an error in the documentation?
- Q: Can I delete only certain data from within indices?
- Q: Can Curator handle index names with strange characters?
- Q: I’m getting
DistributionNotFound
andentry_point
errors when I try to run Curator. What am I doing wrong? - Q: Snapshots seem to be working. Why am I getting
SnapshotMissingException
messages?
A newer version is available. For the latest information, see the
current release documentation.
Allocation
editAllocation
editaction: 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
editOptional settings
edit- allocation_type (has a default value which can optionally be changed)
- wait_for_completion (has a default value which can optionally be changed)
- ignore_empty_list (can override the default)
- 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.
On this page
Was this helpful?
Thank you for your feedback.