What can cause an index to drop its linked indices? We have several Index Lifecycle Policies in place for our cluster, but one of them (filebeat ILM policy) descended to 0 (from more then 10) linked indices, thus causing data loss, logs are no longer visible in Kibana.
Re-indexing does not help, since the indices in question are not present when running a listing operation:
GET /_cat/indices/%2A?v=&s=index:desc
Is there a way to retrieve the indices? How can this be prevented in the future? What is the root cause for this situation? We are running Elasticsearch on k8s cluster.
This is the policy in question:
{
"filebeat" : {
"version" : 2787,
"modified_date" : "2021-06-30T13:19:52.560Z",
"policy" : {
"phases" : {
"hot" : {
"min_age" : "0ms",
"actions" : {
"rollover" : {
"max_size" : "50gb",
"max_age" : "1d"
}
}
},
"delete" : {
"min_age" : "30d",
"actions" : {
"delete" : { }
}
}
}
}
}
}