tanya/config/default_policy.json

50 lines
896 B
JSON

<<<<<<< HEAD
=======
{
"policy": {
"phases": {
"hot": {
"actions": {
"rollover": {
"max_size": "50GB",
"max_age": "1d"
},
"allocate": {
"include": {
"_tier_preference": "data_hot"
}
}
}
},
"warm": {
"min_age": "1d",
"actions": {
"allocate": {
"include": {
"_tier_preference": "data_warm"
}
},
"shrink": {
"number_of_shards": 2
}
}
},
"cold": {
"min_age": "7d",
"actions": {
"allocate": {
"include": {
"_tier_preference": "data_cold"
}
},
"shrink": {
"number_of_shards": 1
}
}
}
}
}
}
>>>>>>> Snippet