I was just playing a bit with index lifetime policy in 6.6.2.
As I understand I create a policy and then I add the policy to an index template.
I created it with kibana.
I have following questions:
- I want to see which index templates are using a specific policy. How can I get this information? Can I filter the index_templates for having an lifetime policy set or is there an API method to see where which policy is used?
- When I delete a policy, the reference in the index template remains. Shouldn't it be deleted?
- Is there a way in kibana to remove the link between index template and lifecycle policy?
- If not, how do I update the index template to get rid of the policy but keep all other template configuration?