i would like to delete indices older X days. I found a lot of posts here but no one helped me.
My action file:
Delete indices older than 60 days (based on index name), for winlogbeat-
prefixed indices. Ignore the error if the filter does not result in an
actionable list of indices (ignore_empty_list) and exit cleanly.
- filtertype: pattern
- filtertype: age
Problem is that it do not delete anything. I tryed to find something in debug. But dont know how to solve.
2019-10-28 15:41:41,459 DEBUG curator.indexlist __not_actionable:39 Index metricbeat-7.2.0-2019.10.26 is not actionable, removing from list.
2019-10-28 15:41:41,460 DEBUG curator.indexlist __excludify:58 Removed from actionable list: metricbeat-7.2.0-2019.10.26 has index.lifecycle.name metricbeat-7.2.0
How to manage it? I have it in my testing environment and really need to delete indices.