Automatically implementing iLm on new indices

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?

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