# Elasticsearch Storage

**URL:** <https://discuss.elastic.co/t/elasticsearch-storage/85832>\
**Category:** Elasticsearch\
**Created:** [May 15, 2017, 10:07pm UTC](https://discuss.elastic.co/t/elasticsearch-storage/85832 "2017-05-15T22:07:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinc1029](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@kevinc1029](https://discuss.elastic.co/u/kevinc1029)\
**Post date:** [May 15, 2017, 10:07pm UTC](https://discuss.elastic.co/t/elasticsearch-storage/85832/1 "2017-05-15T22:07:02Z")

</div>

I'm new to Elasticsearch and have couple questions that I can't seem to find the answers to.

1. Is there a way to configure Elasticsearch to compress or delete the logs after a certain number of days or when storage reaches a certain size?

2. I'm currently getting around 1.6GB of logs per day looking at my kibana "store.size", and it's adding up everyday. What are some ways I can approach on this? I guess this would refer to my question #1.

Thanks.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 15, 2017, 10:13pm UTC](https://discuss.elastic.co/t/elasticsearch-storage/85832/2 "2017-05-15T22:13:30Z")

</div>

[Elasticsearch Curator](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html) 🙂

---

<div class="post-metadata">

**Author:** ![kevinc1029](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@kevinc1029](https://discuss.elastic.co/u/kevinc1029)\
**Post date:** [May 16, 2017, 6:38pm UTC](https://discuss.elastic.co/t/elasticsearch-storage/85832/3 "2017-05-16T18:38:45Z")

</div>

I played around with it a bit, it seems to be what I'm looking for. However, is it possible to set it up where it monitors kibana or elasticsearch and can i.e. automatically delete indices that are 10 days old? Without me having to manually run curator.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 16, 2017, 8:57pm UTC](https://discuss.elastic.co/t/elasticsearch-storage/85832/4 "2017-05-16T20:57:29Z")

</div>

Not automatically no, we suggest cron for that 🙂

---

<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:** [June 13, 2017, 8:58pm UTC](https://discuss.elastic.co/t/elasticsearch-storage/85832/5 "2017-06-13T20:58:03Z")

</div>

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