I am using ELK version 8.12.0 for collecting kong logs using kong udp-logs.
I am getting the below ILM error for one old index. How to solve it, please?
[2024-08-07T22:14:31,004][WARN ][o.e.x.i.ExecuteStepsUpdateTask] [elk03.example.com] policy [kong-index-policy] for index [kong-2022-11-17-000001] failed on cluster state step [{"phase":"hot","action":"rollover","name":"update-rollover-lifecycle-date"}]. Moving to ERROR step
java.lang.IllegalStateException: no rollover info found for [kong-2022-11-17-000001] with rollover target [kong], the index has not yet rolled over with that target
at org.elasticsearch.xpack.core.ilm.UpdateRolloverLifecycleDateStep.performAction(UpdateRolloverLifecycleDateStep.java:60) ~[?:?]
at org.elasticsearch.xpack.ilm.ExecuteStepsUpdateTask.doExecute(ExecuteStepsUpdateTask.java:113) ~[?:?]
at org.elasticsearch.xpack.ilm.IndexLifecycleClusterStateUpdateTask.execute(IndexLifecycleClusterStateUpdateTask.java:47) ~[?:?]
at org.elasticsearch.xpack.ilm.IndexLifecycleRunner$1.execute(IndexLifecycleRunner.java:70) ~[?:?]
at org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:1039) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:1004) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:232) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.lambda$run$2(MasterService.java:1626) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.action.ActionListener.run(ActionListener.java:386) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.run(MasterService.java:1623) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService$5.lambda$doRun$0(MasterService.java:1237) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.action.ActionListener.run(ActionListener.java:386) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService$5.doRun(MasterService.java:1216) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) ~[elasticsearch-8.12.0.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
[2024-08-07T22:24:30,254][INFO ][o.e.x.i.IndexLifecycleRunner] [elk03.example.com] policy [kong-index-policy] for index [kong-2022-11-17-000001] on an error step due to a transient error, moving back to the failed step [update-rollover-lifecycle-date] for execution. retry attempt [1900]
[2024-08-07T22:24:30,287][WARN ][o.e.x.i.ExecuteStepsUpdateTask] [elk03.example.com] policy [kong-index-policy] for index [kong-2022-11-17-000001] failed on cluster state step [{"phase":"hot","action":"rollover","name":"update-rollover-lifecycle-date"}]. Moving to ERROR step
java.lang.IllegalStateException: no rollover info found for [kong-2022-11-17-000001] with rollover target [kong], the index has not yet rolled over with that target
at org.elasticsearch.xpack.core.ilm.UpdateRolloverLifecycleDateStep.performAction(UpdateRolloverLifecycleDateStep.java:60) ~[?:?]
at org.elasticsearch.xpack.ilm.ExecuteStepsUpdateTask.doExecute(ExecuteStepsUpdateTask.java:113) ~[?:?]
at org.elasticsearch.xpack.ilm.IndexLifecycleClusterStateUpdateTask.execute(IndexLifecycleClusterStateUpdateTask.java:47) ~[?:?]
at org.elasticsearch.xpack.ilm.IndexLifecycleRunner$1.execute(IndexLifecycleRunner.java:70) ~[?:?]
at org.elasticsearch.cluster.service.MasterService.innerExecuteTasks(MasterService.java:1039) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:1004) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService.executeAndPublishBatch(MasterService.java:232) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.lambda$run$2(MasterService.java:1626) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.action.ActionListener.run(ActionListener.java:386) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService$BatchingTaskQueue$Processor.run(MasterService.java:1623) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService$5.lambda$doRun$0(MasterService.java:1237) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.action.ActionListener.run(ActionListener.java:386) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.cluster.service.MasterService$5.doRun(MasterService.java:1216) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983) ~[elasticsearch-8.12.0.jar:?]
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) ~[elasticsearch-8.12.0.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]