# Ilm - index creation time picked as future date and time

**URL:** <https://discuss.elastic.co/t/ilm-index-creation-time-picked-as-future-date-and-time/260075>\
**Category:** Elasticsearch\
**Tags:** ilm-index-lifecycle-management\
**Created:** [January 4, 2021, 10:19am UTC](https://discuss.elastic.co/t/ilm-index-creation-time-picked-as-future-date-and-time/260075 "2021-01-04T10:19:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kannan\_raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kannan_raj/32/63201_2.png) [@kannan\_raj](https://discuss.elastic.co/u/kannan_raj)\
**Post date:** [January 4, 2021, 10:19am UTC](https://discuss.elastic.co/t/ilm-index-creation-time-picked-as-future-date-and-time/260075/1 "2021-01-04T10:19:01Z")

</div>

ILM rollover stopped working from 12/27/2020, because of wrong index creation time.

we verified system date, system date was correct during index creation.

we could confirm by seeing the elasticsearch log that system date is **2020-12-27** when index is created but index name created with future date prod-usw-es2-1-kpr2] [apache-prod-usw-es2-1- **2021.12.27** -000005

we use [**parse\_origination\_date**](https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-settings.html) index settings

> [**2020-12-27** T11:18:32,455][INFO][o.e.c.m.MetadataCreateIndexService] [prod-usw-es2-1-kpr2] [apache-prod-usw-es2-1- **2021.12.27** -000005] creating index, cause [rollover\_index], templates [apache\_template], shards [10]/[1]

> [https://192.168.26.188:9200/\_cat/indices?v](https://192.168.26.188:9200/_cat/indices?v) | grep apache  
> green open apache-prod-usw-es2-1-2020.12.23-000001 10 1 1945291 0 5.3gb 2.6gb  
> green open apache-prod-usw-es2-1- **2021.12.27** -000005 10 1 67599063 0 173.2gb 86.5gb  
> green open apache-prod-usw-es2-1-2020.12.26-000004 10 1 8103482 0 20.9gb 10.4gb  
> green open apache-prod-usw-es2-1-2020.12.24-000002 10 1 5238451 0 13.6gb 6.8gb  
> green open apache-prod-usw-es2-1-2020.12.25-000003 10 1 5115778 0 13.3gb 6.6gb

rollover didn't happened based on index size

```
ilm policy    
{
"ilm_apache" : {
"version" : 2,
"modified_date" : "2020-12-23T22:04:34.558Z",
"policy" : {
  "phases" : {
    "hot" : {
      "min_age" : "0ms",
      "actions" : {
        "rollover" : {
          "max_size" : "400gb",
          "max_age" : "1d"
        },
        "set_priority" : {
          "priority" : 100
        }
      }
    },
    "delete" : {
      "min_age" : "30d",
      "actions" : { }
    },
    "warm" : {
      "min_age" : "15d",
      "actions" : {
        "allocate" : {
          "include" : { },
          "exclude" : { },
          "require" : {
            "data" : "warm"
          }
        },
        "set_priority" : {
          "priority" : 50
        }
      }
    }
  }
}
}
}

```

index settings and we use [**parse\_origination\_date**](https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-settings.html) index settings

```
index settings  
{
"apache-prod-usw-es2-1-2021.12.27-000005" : {
"settings" : {
  "index" : {
    "lifecycle" : {
      "name" : "ilm_apache",
      "parse_origination_date" : "true",
      "rollover_alias" : "ilm_apache",
      "origination_date" : "1640563200000"
    },
    "routing" : {
      "allocation" : {
        "require" : {
          "data" : "hot"
        }
      }
    },
    "mapping" : {
      "total_fields" : {
        "limit" : "5000"
      }
    },
    "refresh_interval" : "5s",
    "number_of_shards" : "10",
    "provided_name" : "<apache-prod-usw-es2-1-{now/d{YYYY.MM.dd}}-000005>",
    "creation_date" : "1609067912453",
    "unassigned" : {
      "node_left" : {
        "delayed_timeout" : "5m"
      }
    },
    "number_of_replicas" : "1",
    "uuid" : "u4ez3WnASRWe7IT9qN1t0A",
    "version" : {
      "created" : "7090099"
    }
  }
 }
}
}

```

---

<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:** [January 4, 2021, 3:44pm UTC](https://discuss.elastic.co/t/ilm-index-creation-time-picked-as-future-date-and-time/260075/2 "2021-01-04T15:44:33Z")

</div>

Thanks for reporting this Kannan (Raj?),

I think this might be a bug, would you mind opening an issue at [https://github.com/elastic/elasticsearch/issues](https://github.com/elastic/elasticsearch/issues) and attaching as much info as you can share? (logs, ILM explain, the index settings you posted above)

---

<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:** [February 1, 2021, 3:44pm UTC](https://discuss.elastic.co/t/ilm-index-creation-time-picked-as-future-date-and-time/260075/3 "2021-02-01T15:44:36Z")

</div>

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