# Save index data when index rollover

**URL:** <https://discuss.elastic.co/t/save-index-data-when-index-rollover/274484>\
**Category:** Kibana\
**Created:** [May 31, 2021, 10:23am UTC](https://discuss.elastic.co/t/save-index-data-when-index-rollover/274484 "2021-05-31T10:23:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablixelastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pablixelastic/32/89018_2.png) [@pablixelastic](https://discuss.elastic.co/u/pablixelastic)\
**Post date:** [May 31, 2021, 10:23am UTC](https://discuss.elastic.co/t/save-index-data-when-index-rollover/274484/1 "2021-05-31T10:23:09Z")

</div>

Hi there!

My problem is this:

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/4/8416cd95c5c56948a734c7d128ff3811f04cefa9.png)

This data is just from 3 days!

I'm trying to save my data when i do an index rollover.  
Is there any configuration to do it? I mean, saving it on a .xls, .txt... or just a simple snapshot.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![joshdover](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joshdover/32/42020_2.png) [@joshdover](https://discuss.elastic.co/u/joshdover)\
**Post date:** [May 31, 2021, 12:33pm UTC](https://discuss.elastic.co/t/save-index-data-when-index-rollover/274484/2 "2021-05-31T12:33:04Z")

</div>

Hello!

Yes, you can configure the Index Lifecycle Management (ILM) policy from Kibana. This page gives you instructions on how to do this: [Tutorial: Automate rollover with ILM | Elasticsearch Guide [7.13] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/getting-started-index-lifecycle-management.html)

With ILM you can have different "phases", like hot, warm, cold, and frozen to move data into cheaper, but slower storage tiers (like spinning disk HDD or even Amazon S3). You can also leverage the Snapshot Lifecycle Management (SLM) feature in conjunction with ILM in order to wait for a snapshot to be taken prior to deleting an index. For this, see [Wait for Snapshot](https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-wait-for-snapshot.html).

---

<div class="post-metadata">

**Author:** ![pablixelastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pablixelastic/32/89018_2.png) [@pablixelastic](https://discuss.elastic.co/u/pablixelastic)\
**Post date:** [May 31, 2021, 12:48pm UTC](https://discuss.elastic.co/t/save-index-data-when-index-rollover/274484/3 "2021-05-31T12:48:39Z")

</div>

Thanks you a lot! I'll try it now.

---

<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 28, 2021, 12:49pm UTC](https://discuss.elastic.co/t/save-index-data-when-index-rollover/274484/4 "2021-06-28T12:49:23Z")

</div>

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