ansible/roles/rsyslog_collector/defaults/main.yml
jeltz c65b3f090b
Some checks failed
continuous-integration/drone/push Build is failing
Compress and delete old remote logs
Logrotate is not used because I didn't found an easy way to configure it
to handle the compression/deletion of log files already rotated by
rsyslog (it is probably possible, but I found the script to be easier).
2021-03-01 03:58:58 +01:00

8 lines
203 B
YAML

---
rsyslog_inputs: []
rsyslog_collector_base_dir: /var/log/remote
rsyslog_collector_rotate_path: /usr/local/sbin/rotate_remote_logs
rsyslog_collector_keep_days: 0
rsyslog_collector_compress_days: 1
...