Hi Team,
I am running a python script which is sending data to elasticsearch on daily basis and creates index datewise. I want to apply ILM policy of deletion for the indexes to be automatically deleted after 2days and I have already applied it on my index but it is showing an error( Index lifecycle error: illegal_argument_exception: setting [index.lifecycle.rollover_alias] for index [project-details-2022-12-15] is empty or not defined.)
- This is the screenshot of index being created datewise.
- These are the screenshots of ILM policy I created step by step.
- This is the error due to which ILM is failing.
Kindly support.
Thanks,
Pankhuri