# How to validate data is deleted using curator

**URL:** <https://discuss.elastic.co/t/how-to-validate-data-is-deleted-using-curator/137828>\
**Category:** Elasticsearch\
**Created:** [June 28, 2018, 4:10pm UTC](https://discuss.elastic.co/t/how-to-validate-data-is-deleted-using-curator/137828 "2018-06-28T16:10:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepnarla22322](https://avatars.discourse-cdn.com/v4/letter/s/57b2e6/32.png) [@sandeepnarla22322](https://discuss.elastic.co/u/sandeepnarla22322)\
**Post date:** [June 28, 2018, 4:10pm UTC](https://discuss.elastic.co/t/how-to-validate-data-is-deleted-using-curator/137828/1 "2018-06-28T16:10:19Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [June 29, 2018, 9:05pm UTC](https://discuss.elastic.co/t/how-to-validate-data-is-deleted-using-curator/137828/2 "2018-06-29T21:05:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 27, 2018, 9:05pm UTC](https://discuss.elastic.co/t/how-to-validate-data-is-deleted-using-curator/137828/3 "2018-07-27T21:05:13Z")

</div>

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