# How can i save disk space in elasticsearch

**URL:** <https://discuss.elastic.co/t/how-can-i-save-disk-space-in-elasticsearch/127782>\
**Category:** Elasticsearch\
**Created:** [April 12, 2018, 9:37am UTC](https://discuss.elastic.co/t/how-can-i-save-disk-space-in-elasticsearch/127782 "2018-04-12T09:37:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![raja\_gopal](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@raja\_gopal](https://discuss.elastic.co/u/raja_gopal)\
**Post date:** [April 12, 2018, 9:37am UTC](https://discuss.elastic.co/t/how-can-i-save-disk-space-in-elasticsearch/127782/1 "2018-04-12T09:37:19Z")

</div>

I have a three nodes cluster each of 114 GB disk capacity. I am pushing syslog events from around 190 devices to this server. The events flow at a rate of 100k withing 15 mins. The index has 5 shards and uses best\_compression method. Inspite of this the disk gets filled up soon so i was forced to remove the replica for this index. The index size is 170 GB and each shard is of size 34.1 GB. Now if i get additional disk space and i try to re index this data to a new index with 3 shards and replica will it save disk space ?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 12, 2018, 9:41am UTC](https://discuss.elastic.co/t/how-can-i-save-disk-space-in-elasticsearch/127782/2 "2018-04-12T09:41:22Z")

</div>

The size on disk will depend on how much you enrich your data and what mappings you use. [This blog post](https://www.elastic.co/blog/filebeat-modiles-access-logs-and-elasticsearch-storage-requirements) discusses how you can optimise mappings in order to save space. Reducing the number of shards may help, especially if they are small, but I would still recommend optimising your mappings if you have not already.

---

<div class="post-metadata">

**Author:** ![raja\_gopal](https://avatars.discourse-cdn.com/v4/letter/r/ac8455/32.png) [@raja\_gopal](https://discuss.elastic.co/u/raja_gopal)\
**Post date:** [April 13, 2018, 1:11pm UTC](https://discuss.elastic.co/t/how-can-i-save-disk-space-in-elasticsearch/127782/3 "2018-04-13T13:11:24Z")

</div>

Thanks, the blog information was really helpful.

---

<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:** [May 11, 2018, 1:11pm UTC](https://discuss.elastic.co/t/how-can-i-save-disk-space-in-elasticsearch/127782/4 "2018-05-11T13:11:46Z")

</div>

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