# Automatically implementing iLm on new indices

**URL:** <https://discuss.elastic.co/t/automatically-implementing-ilm-on-new-indices/188295>\
**Category:** Logstash\
**Tags:** ilm-index-lifecycle-management\
**Created:** [July 1, 2019, 11:01am UTC](https://discuss.elastic.co/t/automatically-implementing-ilm-on-new-indices/188295 "2019-07-01T11:01:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikash\_Singh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikash_singh1/32/42119_2.png) [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Post date:** [July 1, 2019, 11:01am UTC](https://discuss.elastic.co/t/automatically-implementing-ilm-on-new-indices/188295/1 "2019-07-01T11:01:24Z")

</div>

in order to analyze the data daily I am creating indices. But now i want to automatically implement iLm on those newly created indices, for this purpose I have created a new template and added to my logstash .conf file. I have added the below line in the output section of .conf  
ilm\_enabled =\> "true"  
ilm\_policy =\> "15daysindices"  
template\_name =\> "index\_creation"  
But it's not working. can i get some help?

---

<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:** [July 29, 2019, 11:01am UTC](https://discuss.elastic.co/t/automatically-implementing-ilm-on-new-indices/188295/2 "2019-07-29T11:01:25Z")

</div>

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