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