8632866417
two policies are added to handle short and long term indices. life of the indices can be configured using the 'elasticsearch.life' field at browbeat-config.yml file shortterm will have: 125 days longterm will have 2 years the policy and the policy based templates can be created using the 'es-template' install playbook. Change-Id: I0f4a4a9acc03092fd582ae4ff50f688850def953
13 lines
156 B
Django/Jinja
13 lines
156 B
Django/Jinja
{
|
|
"policy": {
|
|
"phases": {
|
|
"delete": {
|
|
"min_age": "{{ age }}",
|
|
"actions": {
|
|
"delete": {}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|