Here's our actionfile
actions:
1:
action: delete_indices
description: >-
Delete indices older than 3 days (based on index name), for logstash-
prefixed indices. Ignore the error if the filter does not result in an
actionable list of indices (ignore_empty_list) and exit cleanly.
options:
ignore_empty_list: True
disable_action: False
filters:
- filtertype: pattern
kind: prefix
value: eside-
- filtertype: age
source: name
direction: older
timestring: '%YYYY.%mm.%dd'
unit: days
unit_count: 3
The after running the curator, here's the debug msgs
2017-12-05 06:49:03,357 DEBUG curator.indexlist filter_by_age:431 Filtering indices by age
2017-12-05 06:49:03,357 DEBUG curator.indexlist _get_name_based_ages:229 Getting ages of indices by "name"
2017-12-05 06:49:03,357 DEBUG curator.indexlist empty_list_check:184 Checking for empty list
2017-12-05 06:49:03,357 DEBUG curator.utils get_date_regex:195 regex = \d{4}YYY\.\d{2}m\.\d{2}d
2017-12-05 06:49:03,358 DEBUG curator.indexlist working_list:195 Generating working list of indices
2017-12-05 06:49:03,358 DEBUG curator.indexlist working_list:195 Generating working list of indices
2017-12-05 06:49:03,358 DEBUG curator.indexlist filter_by_age:492 Index "eside-2017.08.21" does not meet provided criteria. Removing from list.
2017-12-05 06:49:03,358 DEBUG curator.indexlist filter_by_age:492 Index "test-20171127-logstash-1" does not meet provided criteria. Removing from list.
Help please