# Elastic Lifecycle Management Rollover

**URL:** https://discuss.elastic.co/t/elastic-lifecycle-management-rollover/332511
**Category:** Elasticsearch
**Tags:** ilm-index-lifecycle-management
**Created:** [May 4, 2023, 7:54am UTC](https://discuss.elastic.co/t/elastic-lifecycle-management-rollover/332511 "2023-05-04T07:54:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cboissavy](https://avatars.discourse-cdn.com/v4/letter/c/bb73d2/32.png) [@cboissavy](https://discuss.elastic.co/u/cboissavy)
#### Post date: [May 4, 2023, 7:54am UTC](https://discuss.elastic.co/t/elastic-lifecycle-management-rollover/332511/1 "2023-05-04T07:54:56Z")

</div>

Hello,

I have an ECK with 4 pods elasticsearch v8.6.2.

I would like to configure a lifecycle policy hot-warm-cold-delete.  
I created it "Retention-365" and I create a rollover index with the command :

```auto
PUT assainissement-000001
{
  "aliases": {
    "assainissement": {
      "is_write_index": true
    }
  }
}

```

My indices have the alias : assainissement.  
But they are the current action rollover again and again and still in hot phase.

The idea in "Retention-365" is move into warm phase after 3 days, move into cold phase after 30 days, and delete when 365 days.  
How can I change my configuration to do that ?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/6/26f4d5add573e64afcdd5251a1a8da509db78f59.jpeg)

Thanks a lot.

---

<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 1, 2023, 7:55am UTC](https://discuss.elastic.co/t/elastic-lifecycle-management-rollover/332511/2 "2023-06-01T07:55:25Z")

</div>

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