Map index to a new ILM

Hello guys,

I have a usecase where I need to map my current index to a new ILM policy. So I created a new ILM polciy with my requirement and then deleted the existing ILM for the index and then added the new ILM for this index. But when I do this the index health turned to yellow. And I tried to rollover the index and then a new index was created but the data is not ingested to this new index. The rollover is not happening correctly. My current index is filled with more than 50GB. But not rollovering.

Welcome back to the forum.

it will likely help to see the new ILM policy

And the setting for the index which is now yellow, i.e.

GET /yellow-index-name/_settings

Usually an index is yellow as shards are not allocated, did you change anything with respect to the number of shards or replicas from "old"ILM to "new" ILM ?

You can easily see if you have unallocated shards with:

GET _cluster/health

Thank you for the quick response. I restarted the deployment as the deployment was down due to too many requests. And it is restarting now for many hours and the following errors are showing.

I tried to restore data from a older snapshot and it is giving me an error that index is already existing.

Yes, you cannot restore over an existing index. There is rename on restore

but ... I think you have more serious issues.

Are you a paying custome? If so I would strongly suggest to open a support case.