Hey All,
Can someone help me with the syntax required?
Or maybe I am missing something else?
I got this error on the indices.
This is my ILM policy below. How should I add the alias part?
PUT _ilm/policy/ilm-36-hours-deletion-my-index
{
"policy": {
"phases": {
"hot": {
"min_age": "0ms",
"actions": {
"rollover": {
"max_size": "40gb"
},
"set_priority": {
"priority": null
}
}
},
"delete": {
"min_age": "36h",
"actions": {
"delete": {
"delete_searchable_snapshot": true
}
}
}
}
}
}
Thanks!