How to validate data is deleted using curator

Hello Team,

I want to delete logs for 30 days and below is the actions.yml and I am using
curator --config curator.yml actions.yml

how to make sure that the data is deleted

actions:
1:
action: delete_indices
description: Delete indices with %Y.%m.%d in the name where that date is older than 30 days
options:
ignore_empty_list: True
filters:
- filtertype: age
source: name
timestring: '%Y.%m.%d'
unit: days
unit_count: 30

Try curator_cli --config curator.yml show_indices. This will show all indices which are currently on the cluster. You could also look in the log file(s), which will show which indices were deleted.

You could also use _cat/indices in the Dev Tools Console in Kibana.

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