# How to remove elasticsearch indices storage completly

**URL:** <https://discuss.elastic.co/t/how-to-remove-elasticsearch-indices-storage-completly/195904>\
**Category:** Elasticsearch\
**Created:** [August 20, 2019, 11:33am UTC](https://discuss.elastic.co/t/how-to-remove-elasticsearch-indices-storage-completly/195904 "2019-08-20T11:33:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amolp](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@amolp](https://discuss.elastic.co/u/amolp)\
**Post date:** [August 20, 2019, 11:33am UTC](https://discuss.elastic.co/t/how-to-remove-elasticsearch-indices-storage-completly/195904/1 "2019-08-20T11:33:14Z")

</div>

Hi Experts

I have configured elasticsearch on aws ec2 instance and I am keeping data of one month over ebs volume, and deleting it after every one month by using curato **r, but still, storage is increasing day by day.**

**here I am creating indices on a daily basis by using dynamic date command and deleting those all indices which are older than 30 days by using elastic curator.**

elastic curator able to delete indices successfully after n days **still storage is increasing.**

please help me in this to manage elastic storage and remove indices completely.

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 21, 2019, 7:23am UTC](https://discuss.elastic.co/t/how-to-remove-elasticsearch-indices-storage-completly/195904/2 "2019-08-21T07:23:02Z")

</div>

is it possible that you are just indexing more data everyday, so that deleting data does not have that much impact?

If that is not the case, you could log into a node and check if there are open file handles on deleted files using `lsof`.

Does the amount of space used in the disk resemble the size of the indices. Use this to find out the disk used per node

```auto
GET _nodes/stats/indices?human&filter_path=**.store

```

---

<div class="post-metadata">

**Author:** ![amolp](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@amolp](https://discuss.elastic.co/u/amolp)\
**Post date:** [August 27, 2019, 10:49am UTC](https://discuss.elastic.co/t/how-to-remove-elasticsearch-indices-storage-completly/195904/3 "2019-08-27T10:49:01Z")

</div>

I apologies for replying you late, below is the output of lsof |grep deleted command  
output but I am not able to conclude anything out of it, could you please help me in understanding the same.

 ![lsof](https://us1.discourse-cdn.com/elastic/original/3X/a/2/a2ed4c12007cae213d7e73d8e58b75717e00a324.png)

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [August 28, 2019, 9:24am UTC](https://discuss.elastic.co/t/how-to-remove-elasticsearch-indices-storage-completly/195904/4 "2019-08-28T09:24:09Z")

</div>

this is a deleted file in the `/tmp/` dir. Just to be sure. Is the storage on the same file system or is /tmp its own filesystem?

Also, which Elasticsearch version is this?

---

<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:** [September 25, 2019, 9:24am UTC](https://discuss.elastic.co/t/how-to-remove-elasticsearch-indices-storage-completly/195904/5 "2019-09-25T09:24:10Z")

</div>

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