How to validate data is deleted using curator


(sandeep narla) #1

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


(Aaron Mildenstein) #2

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.


(system) #3

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