Index Lifecycle Management

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.)

  1. This is the screenshot of index being created datewise.
  2. These are the screenshots of ILM policy I created step by step.

  3. This is the error due to which ILM is failing.

Kindly support.

If you are creating daily indices you do not need rollover, disable the rollover in your hot phase and it should work.

Thanks it worked..

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