# Message Retention doesnt delete old Index

**URL:** <https://community.graylog.org/t/message-retention-doesnt-delete-old-index/5609>\
**Category:** Graylog Central (peer support)\
**Created:** [June 14, 2018, 11:04am UTC](https://community.graylog.org/t/message-retention-doesnt-delete-old-index/5609 "2018-06-14T11:04:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pwe123345](https://avatars.discourse-cdn.com/v4/letter/p/8edcca/32.png) [@pwe123345](https://community.graylog.org/u/pwe123345)\
**Post date:** [June 14, 2018, 11:04am UTC](https://community.graylog.org/t/message-retention-doesnt-delete-old-index/5609/1 "2018-06-14T11:04:25Z")

</div>

Hello,

I configured Index rotation like this:

Create new Index every 12 hours  
Keep 365  
Delete Index

I can see, that the latest indexes are rotated at 00:00 and 12:00. But my last index has data before the point in time 6 months ago.

I just updated to the latest version, but it didnt help.

kind regards  
Philipp

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [June 14, 2018, 11:14am UTC](https://community.graylog.org/t/message-retention-doesnt-delete-old-index/5609/2 "2018-06-14T11:14:26Z")

</div>

Maybe some messages contained a timestamp from the past or the timestamp wasn’t parsed correctly.

Messages are written into Elasticsearch on ingest time, no matter what their “timestamp” is.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [June 28, 2018, 11:14am UTC](https://community.graylog.org/t/message-retention-doesnt-delete-old-index/5609/3 "2018-06-28T11:14:28Z")

</div>

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