Curator Filters for a Weekly and Monthly Indices Created


How do I configure delete_indices.yml for filters for a weekly and monthly indices created in Elasticsearch?
I am using curator to delete indices for the past 6 months using source: name.

Tried this for the monthly!

- filtertype: age
  source: name
  direction: older
  timestring: '%Y.%m'
  unit: months
  unit_count: 6

How about for the weekly?

Any thoughts?


More information is needed. The problem is that weeks and years are both 2 digit numbers. You will have to use another criteria to identify which indices are in weeks, and which are in months.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.