Hey i am facing some issue with configuring ILM policy in Elasticsearch. While configuring the ilm policy i am facing rollover issues. Can you give me the implementation of ilm policy configuration in logstash and Elasticsearch
Hello and welcome,
Which issues are you having? It is not clear, please provide more context.
ILM policies are configured in Elasticsearch, not Logstash.
I have implemented ILM for an index and the index is sitting in the warm phase but not going to delete phase. Below is the screenshot of it
Below is my ilm policy configuration
PUT _ilm/policy/custom_policy
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_age": "2m"
}
}
},
"warm": {
"min_age": "5m",
"actions": {
"set_priority": {
"priority": 50
}
}
},
"delete": {
"min_age": "10m",
"actions": {
"delete": {
"delete_searchable_snapshot": true
}
}
}
}
}
}
Also for custom generated indexes it is giving as the index is not getting pointed to the correct alias
Preformatted text