Hi there.
I am getting this error when trying to implement ILM on my indexes.
Here is my ILM config
PUT _ilm/policy/rollover_policy
{
"policy": {
"phases": {
"hot": {
"actions": {
"rollover": {
"max_size": "200MB",
"max_age": "2d"
}
}
},
"delete": {
"min_age": "1d",
"actions": {
"delete": {}
}
}
}
}
}
Here is my template config
PUT _template/catalina.out_template
{
"index_patterns": ["catalina.out-*"],
"settings": {
"number_of_shards": 1,
"number_of_replicas": 1,
"index.lifecycle.name": "rollover_policy",
"index.lifecycle.rollover_alias": "catalina.out"
}
}
And here is my bootstrap config
PUT catalina.out-000001
{
"aliases": {
"catalina.out": {
"is_write_index": true
}
}
}
As you can see , I'm trying to Automate the rollover. It seems to be going to the rollover index catalina.out-000001 but I get this error
Index lifecycle error illegal_argument_exception: index.lifecycle.rollover_alias [catalina.out] does not point to index [catalina.out-2020.02.25]
in the UI sporadically and I really am unsure why.
Any help would be greatly appreciated.