Receiving router log information in journald - A solution

A long time ago I open this thread :
Here one solution.

Step one :
Configure the router to send logs on local network ( In my case just put the IP address of the receiver which must listen port 514 )

Step two :

From this site :

Install socat
Create a fake syslog server

#  This file is part of systemd.
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#    from starfry
#    Installed : /etc/systemd/system/fake_syslog.service
#    use : Nothing
Description=poor man's syslog server

ExecStart=/usr/bin/socat -u UDP-RECV:514 STDOUT


Enable and start the service

Step three Test it :
Watch systemd journal

systemd-journalctl  -f

Log in on the rooter.
send a message locally to syslog

logger "This is a test"

That’s all.