# Index Rollover not working

**URL:** <https://discuss.elastic.co/t/index-rollover-not-working/234078>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [May 25, 2020, 3:44am UTC](https://discuss.elastic.co/t/index-rollover-not-working/234078 "2020-05-25T03:44:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PraveenKT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/praveenkt/32/35483_2.png) [@PraveenKT](https://discuss.elastic.co/u/PraveenKT)\
**Post date:** [May 25, 2020, 3:44am UTC](https://discuss.elastic.co/t/index-rollover-not-working/234078/1 "2020-05-25T03:44:33Z")

</div>

![rollover](https://us1.discourse-cdn.com/elastic/original/3X/2/a/2a540e5996b184470c3bdc0ac9c551ba6201976d.jpeg)

i am unable to rollover the index. Can you please check attached screenshot. Please help me?  
I am not seeing any errors related to alias till now also. After modifying policy attached to template and added alias also.

---

<div class="post-metadata">

**Author:** ![dakrone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dakrone/32/23351_2.png) [@dakrone](https://discuss.elastic.co/u/dakrone)\
**Post date:** [May 27, 2020, 4:17am UTC](https://discuss.elastic.co/t/index-rollover-not-working/234078/2 "2020-05-27T04:17:16Z")

</div>

Hi Praveen,

It's hard to tell from the snapshot, can you include the output of `GET /issqmetric-2020.05.24-000010/_ilm/explain?human` as well as a copy of the ILM policy (issqmetric) that you're using?

It doesn't look like there are any errors, but just to make sure, is ILM running (you can check with `GET /_ilm/status`).

---

<div class="post-metadata">

**Author:** ![PraveenKT](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/praveenkt/32/35483_2.png) [@PraveenKT](https://discuss.elastic.co/u/PraveenKT)\
**Post date:** [May 27, 2020, 4:34am UTC](https://discuss.elastic.co/t/index-rollover-not-working/234078/3 "2020-05-27T04:34:11Z")

</div>

> [@dakrone](#):
>
> ET /issqmetric-2020.05.24-000010/\_ilm/explain?huma

Hello Dakron, Below is the requested output.

```auto
{
  "indices" : {
    "issqmetric-2020.05.24-000010" : {
      "index" : "issqmetric-2020.05.24-000010",
      "managed" : true,
      "policy" : "issqmetric",
      "lifecycle_date" : "2020-05-25T04:10:34.845Z",
      "lifecycle_date_millis" : 1590379834845,
      "age" : "2.01d",
      "phase" : "hot",
      "phase_time" : "2020-05-25T03:51:49.569Z",
      "phase_time_millis" : 1590378709569,
      "action" : "complete",
      "action_time" : "2020-05-25T04:10:41.135Z",
      "action_time_millis" : 1590379841135,
      "step" : "complete",
      "step_time" : "2020-05-25T04:10:41.135Z",
      "step_time_millis" : 1590379841135,
      "phase_execution" : {
        "policy" : "issqmetric",
        "phase_definition" : {
          "min_age" : "0ms",
          "actions" : {
            "rollover" : {
              "max_size" : "50gb",
              "max_age" : "30d",
              "max_docs" : 189566532
            }
          }
        },
        "version" : 7,
        "modified_date" : "2020-05-25T03:51:16.824Z",
        "modified_date_in_millis" : 1590378676824
      }
    }
  }
}

```

```auto
{
  "operation_mode" : "RUNNING"
}

```

---

<div class="post-metadata">

**Author:** ![dakrone](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dakrone/32/23351_2.png) [@dakrone](https://discuss.elastic.co/u/dakrone)\
**Post date:** [May 29, 2020, 3:27pm UTC](https://discuss.elastic.co/t/index-rollover-not-working/234078/4 "2020-05-29T15:27:36Z")

</div>

Okay it looks like it's in the hot/complete/complete step, but the rollover never actually happened?

Do you have an` issqmetric-*-000011` index at all? Is there anything in the logs about this index that may indicate an error?

---

<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 26, 2020, 3:27pm UTC](https://discuss.elastic.co/t/index-rollover-not-working/234078/5 "2020-06-26T15:27:38Z")

</div>

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