Hi,
currently I have this error:
Index lifecycle error
illegal_argument_exception: index.lifecycle.rollover_alias [filebeat] does not point to index [filebeat-7.8.1-2020.08.12-000001]
ILM infos
$ curl -X GET "localhost:9200/filebeat-7.8.1-2020.08.12-000001/_ilm/explain?pretty"
{
"indices" : {
"filebeat-7.8.1-2020.08.12-000001" : {
"index" : "filebeat-7.8.1-2020.08.12-000001",
"managed" : true,
"policy" : "filebeat",
"lifecycle_date_millis" : 1597248578880,
"age" : "18.8h",
"phase" : "hot",
"phase_time_millis" : 1597315517191,
"action" : "rollover",
"action_time_millis" : 1597249322260,
"step" : "ERROR",
"step_time_millis" : 1597316117188,
"failed_step" : "check-rollover-ready",
"is_auto_retryable_error" : true,
"failed_step_retry_count" : 16,
"step_info" : {
"type" : "illegal_argument_exception",
"reason" : "index.lifecycle.rollover_alias [filebeat] does not point to index [filebeat-7.8.1-2020.08.12-000001]",
"stack_trace" : "java.lang.IllegalArgumentException: index.lifecycle.rollover_alias [filebeat] does not point to index [filebeat-7.8.1-2020.08.12-000001]\n\tat org.elasticsearch.xpack.core.ilm.WaitForRolloverReadyStep.evaluateCondition(WaitForRolloverReadyStep.java:104)\n\tat org.elasticsearch.xpack.ilm.IndexLifecycleRunner.runPeriodicStep(IndexLifecycleRunner.java:173)\n\tat org.elasticsearch.xpack.ilm.IndexLifecycleService.triggerPolicies(IndexLifecycleService.java:329)\n\tat org.elasticsearch.xpack.ilm.IndexLifecycleService.triggered(IndexLifecycleService.java:267)\n\tat org.elasticsearch.xpack.core.scheduler.SchedulerEngine.notifyListeners(SchedulerEngine.java:183)\n\tat org.elasticsearch.xpack.core.scheduler.SchedulerEngine$ActiveSchedule.run(SchedulerEngine.java:211)\n\tat java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)\n\tat java.base/java.lang.Thread.run(Thread.java:832)\n"
},
"phase_execution" : {
"policy" : "filebeat",
"phase_definition" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_size" : "4gb",
"max_age" : "2d"
},
"set_priority" : {
"priority" : null
}
}
},
"version" : 19,
"modified_date_in_millis" : 1597250934486
}
}
}
}
Regards,
Rafal