I am following document to delete index by using curator.
running command like
curator /home/ubuntu/curator/delete-index/openapi.yml --config /home/ubuntu/curator/curator-staging.yml
After command is completed with no error, but older index still exists. Any error in my yaml file?
The delete yaml file is following
actions:
1:
action: delete_indices
description: >-
Delete indices older than 5 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
continue_if_exception: False
disable_action: False
filters:
- filtertype: pattern
kind: prefix
value: openapi-
- filtertype: age
source: name
direction: older
timestring: '%Y.%m.%d'
unit: days
unit_count: 5