Trying to delete old indices using curator. I have indices in the following format:
{name}-{%m%d}. For example: "john-0709" or "jane-0702". Here is my action file:
actions:
1:
action: delete_indices
filters:
# - filtertype: pattern
# kind: prefix
# value: .kibana
# exclude: True
- filtertype: pattern
kind: prefix
value: john
- filtertype: age
source: name
direction: older
timestring: '%m%d'
unit: days
unit_count: 10
exclude:
However, it ends up deleting all indices (--dry-run) irrespective of the date.
What am I missing?