Running into a bit of a stumper. Using curator to change the replicas to 1 on indices, but the filters don't seem to be working correctly.
Indices to be changed all have the following attributes in _settings
"settings": {
"index": {
"routing": {
"allocation": {
"require": {
"node_type": "warm"
}
}
}
When running curator, I'm using the below actions file contents:
2:
action: replicas
description: >-
Change replica count to 1 for indices on warm nodes
options:
count: 1
wait_for_completion: True
disable_action: False
filters:
- filtertype: allocated
key: node_type
allocation_type: require
value: warm
- filtertype: pattern
kind: regex
value: '^(.kibana_|.).*$'
exclude: True
However, curator dry-run is still showing it acting against indices that don't have the node_type:warm
Can anyone provide insight if I'm doing something wrong here?