Creating indices with ILM

Is there anyway through which I can directly add ILM to my indices during creation???If i add these lines in my "abc.conf" will it be applied to all new indices created

ilm_enabled => "true"
ilm_policy => "default-policy"
ilm_rollover_alias => "app-logs"
template_name => "app-logs"

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