diff --git a/elk_metrics_6x/roles/elastic_dependencies/templates/logrotate.j2 b/elk_metrics_6x/roles/elastic_dependencies/templates/logrotate.j2 index 5915449a..d868cf28 100644 --- a/elk_metrics_6x/roles/elastic_dependencies/templates/logrotate.j2 +++ b/elk_metrics_6x/roles/elastic_dependencies/templates/logrotate.j2 @@ -1,12 +1,12 @@ {{ elastic_log_rotate_path }}/*.log { copytruncate - weekly - missingok + daily rotate 2 + delaycompress compress dateext - maxage 5 notifempty - nocreate + missingok + maxage 5 }