# How to reclaim disk space for an index?

**URL:** <https://discuss.elastic.co/t/how-to-reclaim-disk-space-for-an-index/146341>\
**Category:** Elasticsearch\
**Created:** [August 28, 2018, 12:47pm UTC](https://discuss.elastic.co/t/how-to-reclaim-disk-space-for-an-index/146341 "2018-08-28T12:47:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tigermarques](https://avatars.discourse-cdn.com/v4/letter/t/ce7236/32.png) [@tigermarques](https://discuss.elastic.co/u/tigermarques)\
**Post date:** [August 28, 2018, 1:45pm UTC](https://discuss.elastic.co/t/how-to-reclaim-disk-space-for-an-index/146341/2 "2018-08-28T13:45:24Z")

</div>

I found out that this was related to the translog, which was occupying a lot of disk space.

I followed the reccommendations on this link:

> [@Large translog files using 6.0 stack](https://discuss.elastic.co/t/large-translog-files-using-6-0-stack/110375/6):
>
> For a single node cluster they will not be very useful.

I set my maximum retention size to 50mb and my maximum retention age to 60m. This made the translog size to decrease from almost 30gb to 2.5gb

Thanks a lot

---

_[View the full topic](https://discuss.elastic.co/t/how-to-reclaim-disk-space-for-an-index/146341)._
