# How to delete indice data from disk?

**URL:** https://discuss.elastic.co/t/how-to-delete-indice-data-from-disk/137568
**Category:** Elasticsearch
**Created:** [June 27, 2018, 8:22am UTC](https://discuss.elastic.co/t/how-to-delete-indice-data-from-disk/137568 "2018-06-27T08:22:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)
#### Post date: [June 27, 2018, 8:22am UTC](https://discuss.elastic.co/t/how-to-delete-indice-data-from-disk/137568/1 "2018-06-27T08:22:15Z")

</div>

Hey guys,

I want to delete all indices which are older than 30 days. I have successfully created a curator script which deletes the indices from ES, the indices which are deleted are not shown in kibana but the storage is nevertheless used. What can I do to delete the data directly from disk?

Best regards,  
Robert

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [June 27, 2018, 8:53am UTC](https://discuss.elastic.co/t/how-to-delete-indice-data-from-disk/137568/2 "2018-06-27T08:53:20Z")

</div>

> [@PolterFox](#):
>
> , the indices which are deleted are not shown in kibana but the storage is nevertheless used.

Very strange. This should not happen.

Can you run a

```
GET /_cat/indices?v

```

And a

```
ls -lrt data/nodes/0/indices/

```

And share both results here?

What makes you think that data is not deleted?

---

<div class="post-metadata">

### Author: ![PolterFox](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polterfox/32/29781_2.png) [@PolterFox](https://discuss.elastic.co/u/PolterFox)
#### Post date: [June 27, 2018, 9:08am UTC](https://discuss.elastic.co/t/how-to-delete-indice-data-from-disk/137568/3 "2018-06-27T09:08:12Z")

</div>

Hey @dadoonet,  
thanks for your answer, I thought they are not deleted but they are. The storage-size has not changed so i thought they are not deleted. (but they are, so everything is fine)

Best regards,  
Robert

---

<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 25, 2018, 9:08am UTC](https://discuss.elastic.co/t/how-to-delete-indice-data-from-disk/137568/4 "2018-07-25T09:08:15Z")

</div>

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