Edit the rsyslog file
sudo vi /etc/rsyslog.conf
add the following in. Change out the IP address for your remote syslog server IP address.
## rsyslog Server
Restart the rsyslog service and check your remote log server.
systemctl restart rsyslog
Swap out logserveraddress with the ip or hostname of your remote log server
Adding the following option to the config.php file is supposed to delete anything over 30 days.
$config['syslog_purge'] = 30;
You can also manually delete the entries out of the MySQL database by logging into MySQL, selecting the librenms database, and running the command below.
The command deletes all entries older than 12/9/2018 at 08:00. Change the date and time as needed.
DELETE FROM syslog WHERE timestamp < '2018-12-9 08:00:00';
The following link has some more clean up options.