Community discussions

MikroTik App
 
User avatar
eworm
Forum Guru
Forum Guru
Topic Author
Posts: 1070
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

remote logging to systemd journal

Tue Jan 15, 2019 5:41 pm

Hello everybody,

I do use a linux server for remote logging. For some time I ran a rsyslog instance that listened for syslog messages on UDP port 514 and redirected them to systemd's journald. But the syslog implementations are bloated and complex for a simple task like this - especially if you do not want to run a full featured syslog because systemd journal is there.

I did not find anything really suitable, so finally I decided to start my own project. This is a little daemon listening for syslog messages on UDP port 514, pushing to systemd journal directly. This even gives the advantage of being able to push extra information, for example you can filter by SYSLOG_IDENTIFIER, which is the device's ip address.

Read the details and get the code from my website, Github or Gitlab:
https://git.eworm.de/cgit.cgi/udp514-journal/about/
https://github.com/eworm-de/udp514-journal
https://gitlab.com/eworm-de/udp514-journal

I hope this is useful for someone. Feedback is welcome. Have fun!
 
User avatar
eworm
Forum Guru
Forum Guru
Topic Author
Posts: 1070
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: remote logging to systemd journal

Thu Aug 11, 2022 5:43 pm

The linked repository has a README that should contain all information needed. What template are you referring?

Who is online

Users browsing this forum: GoogleOther [Bot] and 87 guests