Index policy evaluation

Hi all. A very quick one. I have the following policy

{
“policy”: {
“policy_id”: “Delete_older_than_60d”,
“description”: “Changes replica count and deletes”,
“last_updated_time”: 1608542726528,
“schema_version”: 1,
“error_notification”: null,
“default_state”: “current”,
“states”: [
{
“name”: “current”,
“actions”: ,
“transitions”: [
{
“state_name”: “old”,
“conditions”: {
“min_index_age”: “30d”
}
}
]
},
{
“name”: “old”,
“actions”: [
{
“replica_count”: {
“number_of_replicas”: 0
}
}
],
“transitions”: [
{
“state_name”: “delete”,
“conditions”: {
“min_index_age”: “40d”
}
}
]
},
{
“name”: “delete”,
“actions”: [
{
“delete”: {}
}
],
“transitions”: 
}
]
}
}

So what I want is remove replica and put to 0 older than 30 days then after 40 days more delete the index.

Is that right? SO the lifespan of the index is 70 days?

Cheers

Preformatted text

This does not seem to be a valid ILM policy. If this by any chance is related to OpenDistro I would recommend raising this in their form.

yes it is.

ok thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.