# What is ELK data rotation Policy?

**URL:** <https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772>\
**Category:** Elasticsearch\
**Created:** [July 2, 2015, 8:55am UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772 "2015-07-02T08:55:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [July 2, 2015, 8:55am UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772/1 "2015-07-02T08:55:15Z")

</div>

Hi Experts,

I have couple of questions

1. What is ELK default data rotation policy. Like how data expires , where it moves once expire,where we can define after such period or time old data will archive ?
2. What is the default data retention period of ELK ? how and where we can change this ?

Thanks  
Vikas

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 2, 2015, 11:56am UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772/2 "2015-07-02T11:56:11Z")

</div>

Elasticsearch doesn't delete anything by default. You have to implement that yourself, e.g. by using [Curator](https://github.com/elastic/curator).

---

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [July 2, 2015, 11:59am UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772/3 "2015-07-02T11:59:23Z")

</div>

Thank you Magnus,

Any other option apart from Curator . Why I am asking because I am windows user and Curator I guess work for Linux only . Please correct me if I am wrong .

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 2, 2015, 12:55pm UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772/4 "2015-07-02T12:55:06Z")

</div>

Curator is Python so it should work on Windows too. But there might be other options too, but if there are I don't know about them.

---

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [July 2, 2015, 12:55pm UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772/5 "2015-07-02T12:55:38Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [July 2, 2015, 2:38pm UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772/6 "2015-07-02T14:38:27Z")

</div>

Curator now ships with a windows (32bit) binary package: [https://www.elastic.co/guide/en/elasticsearch/client/curator/current/windows-zip.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/windows-zip.html)

**Update:** It is now a Win32 binary.

---

<div class="post-metadata">

**Author:** ![vikas\_gopal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikas_gopal/32/47661_2.png) [@vikas\_gopal](https://discuss.elastic.co/u/vikas_gopal)\
**Post date:** [July 2, 2015, 5:23pm UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772/7 "2015-07-02T17:23:00Z")

</div>

Ahh!! my bad I need 32 bit package.But thank you Aaron.

---

<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, 12:03am UTC](https://discuss.elastic.co/t/what-is-elk-data-rotation-policy/24772/8 "2017-07-06T00:03:55Z")

</div>


