MP
actions:
666:
action: allocation
description: "Apply shard allocation filtering rules to the specified indices"
options:
key: box_type
value: warm
allocation_type: require
wait_for_completion: true
timeout_override:
continue_if_exception: false
disable_action: false
filters:
- filtertype: age
source: name
direction: older
timestring: '%Y.%W'
unit: weeks
unit_count: 1
Хочу чтобы он работал только для индексов *-%{+xxxx.ww}, однако данный экшн срабатывает и для индексов *-%{+YYYY.MM} и для *-%{+YYYY.MM.dd}. А мне надо в зависимости от шаблона даты в индексе юзать разные экшены. Помогите, как сделать?