# Data storage and purging in ES

**URL:** <https://discuss.elastic.co/t/data-storage-and-purging-in-es/11835>\
**Category:** Elasticsearch\
**Created:** [May 6, 2013, 1:58pm UTC](https://discuss.elastic.co/t/data-storage-and-purging-in-es/11835 "2013-05-06T13:58:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaush777](https://avatars.discourse-cdn.com/v4/letter/k/43a26b/32.png) [@kaush777](https://discuss.elastic.co/u/kaush777)\
**Post date:** [May 6, 2013, 1:58pm UTC](https://discuss.elastic.co/t/data-storage-and-purging-in-es/11835/1 "2013-05-06T13:58:12Z")

</div>

Hi All,

I have a working Graylog 0.11.0 + ES system for log management. My  
requirement is that I want to keep the logs till 30 days and archive/delete  
data prior to that.

Is there a way to achieve this in Elastic Search? I mean without deleting  
the data/indices manually of course 🙂

Thanks in advance 🙂

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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 6, 2017, 2:38am UTC](https://discuss.elastic.co/t/data-storage-and-purging-in-es/11835/2 "2017-07-06T02:38:07Z")

</div>


