- Add the policy to an index template. When an index is automatically created using the index template, the policy is applied. If the index is rolled over, the policies for any matching index templates are applied to the newly created index. For more information, see .