I was wondering if it is possible to configure a lifecycle policy so that nodes older than 300 days are automatically closing? I would like to know if I am on the right way or am I really trying something that I will never achieve
I was trying something like:
PUT _ilm/policy/my_police
{
"policy": {
"phases": {
...
"cold": {
"min_age": "60d",
"actions": {
"close": {}
}
},
...
Thanks!