# Curator\_cli delete of data and index Even Kibana Dashboard

**URL:** <https://discuss.elastic.co/t/curator-cli-delete-of-data-and-index-even-kibana-dashboard/139007>\
**Category:** Elasticsearch\
**Created:** [July 7, 2018, 7:03am UTC](https://discuss.elastic.co/t/curator-cli-delete-of-data-and-index-even-kibana-dashboard/139007 "2018-07-07T07:03:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![omid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/omid/32/33595_2.png) [@omid](https://discuss.elastic.co/u/omid)\
**Post date:** [July 7, 2018, 7:03am UTC](https://discuss.elastic.co/t/curator-cli-delete-of-data-and-index-even-kibana-dashboard/139007/1 "2018-07-07T07:03:38Z")

</div>

im install and worked curator cli  
for deleted index and data!  
But when the time comes for the erase  
curator\_cli In addition to the elasticsearch index, Kibana Dashboard is deleted  
But I do not want the Kibana dashboard to be erased each and every time

> curator\_cli --host 127.0.0.1 --timeout 300 --port 9200 delete\_indices --filter\_list '[{"filtertype":"age", "source":"name", "direction":"older", "unit":"days", "unit\_count":1, "timestring":"%Y.%m.%d"}]' \>\>curat.log

this code my garbagecollector curator\_cli

---

<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:** [July 7, 2018, 1:02pm UTC](https://discuss.elastic.co/t/curator-cli-delete-of-data-and-index-even-kibana-dashboard/139007/2 "2018-07-07T13:02:39Z")

</div>

You'll want more filters in your `--filter_list` than that. The ones you have will select _all_ indices that have a `YYYY.MM.dd` time string in the name.

This should not match the `.kibana`, or `.kibana-6` indices, however, as they do not contain a date string in the index name. Did you run with the `--dry-run` flag first? You can also run `curator_cli` with `show_indices` instead of `delete_indices` to show which indices the `--filter_list` is selecting.

---

<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:** [August 4, 2018, 1:02pm UTC](https://discuss.elastic.co/t/curator-cli-delete-of-data-and-index-even-kibana-dashboard/139007/3 "2018-08-04T13:02:41Z")

</div>

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