From e3b4fa12b1b45625dfd34d22218983a8d0ceb237 Mon Sep 17 00:00:00 2001 From: Kevin Krumm Date: Tue, 31 Oct 2017 15:33:17 -0500 Subject: [PATCH] docs: Added syslog cleanup option to syslog docs (#7581) * docs: added syslog cleanup option syslog purge * Update Syslog.md --- doc/Extensions/Syslog.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/Extensions/Syslog.md b/doc/Extensions/Syslog.md index a1aab29237..4a05b1b8a4 100644 --- a/doc/Extensions/Syslog.md +++ b/doc/Extensions/Syslog.md @@ -129,6 +129,13 @@ Add the following to your LibreNMS `config.php` file to enable the Syslog extens ```ssh $config['enable_syslog'] = 1; ``` +#### Syslog Clean Up +Can be set inside of `config.php` +```php +$config['syslog_purge'] = 30; +``` +The cleanup is run by daily.sh and any entries over X days old are automatically purged. Values are in days. +See here for more Clean Up Options [Link](https://docs.librenms.org/#Support/Configuration/#cleanup-options) ### Client configuration