Suggestion: log retention policy - set a value by default

Started by pcaetano, May 19, 2023, 11:27:48 AM

Previous topic - Next topic
Hi,

I've a pair of small appliances running OPNsense with great stability and performance.

One thing I always tune after installing is setting a sensible value for log retention.
In my case I save 15 days of logs and forward the rest to a central syslog server.

Would it not make sense to set a value on default installations?

BR,
Pedro

System: Settings: Logging. The field is empty.
Tooltip reads: Number of log to preserve. By default 31 logs are preserved.
This is on version 23.7.
Maybe I changed it and the default is different, but it seems that there is a default. Did you find it differently straight after a clean install?

I missed the tooltop with the default value.
Truth is that the default logging settings generate circa 20gb of logs per month, which in my case, it's too much data to be kept locally.