# Parse\_origination\_date phase transition

**URL:** https://discuss.elastic.co/t/parse-origination-date-phase-transition/245910
**Category:** Elasticsearch
**Created:** [August 21, 2020, 10:43am UTC](https://discuss.elastic.co/t/parse-origination-date-phase-transition/245910 "2020-08-21T10:43:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![samaresh\_kirtania](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samaresh_kirtania/32/54966_2.png) [@samaresh\_kirtania](https://discuss.elastic.co/u/samaresh_kirtania)
#### Post date: [August 21, 2020, 10:43am UTC](https://discuss.elastic.co/t/parse-origination-date-phase-transition/245910/1 "2020-08-21T10:43:32Z")

</div>

I am trying to use origination\_date with ILM phases and need some help. I am creating the indexes manually of the format shipdetails-2020.08.19. We can create 7 indexes on a given date. Now the events will be stored accordingly based on the date-  
shipdetails-2020.08.21  
shipdetails-2020.08.22  
shipdetails-2020.08.23  
shipdetails-2020.08.24  
shipdetails-2020.08.25  
shipdetails-2020.08.26  
shipdetails-2020.08.27

I wanted to implement an ILM based on the origination date (phase transition based on the date math present in the index name).

How can we set upfront index.lifecycle.parse\_origination\_date` to `true` for all the index by matching patterns or do we need to set this property manually during creation of indexes

Please suggest

---

<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: [September 18, 2020, 10:43am UTC](https://discuss.elastic.co/t/parse-origination-date-phase-transition/245910/2 "2020-09-18T10:43:33Z")

</div>

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