LibreNMS returns wrong hostname for some syslog entries

I am running LibreNMS and rsyslog on Raspberrypi 4, I have followed instructions to add rsyslog. I only have one device, Ubiquiti Edgerouter sending syslog info to Pi.
Any errors on the Pi also show up in the sylog, the problem is when librenms reports the syslog entry, it reports it with the hostname of the Ubiquiti Edgerouter. When these errors occur on the Pi, I am able to see the entries in the /etc/log/kern.log file and it shows raspberrypi in the entry.
Besides this, everything works great, ./validate.php runs clean. Any ideas on why this occurs or how to resolve?