I have an iot module running a firmware that has the capability of sending the logs to a remote syslog host. I've already configured it to send the entries to an Ubuntu Server running rsyslog. I'd like to know which would be the best practice here for these logs to be merged into journald scope, since when logged into the server, if I'd like to check remote logs in the context of other local logs, I have to manually inspect /var/log/syslog (file where rsyslog is storing entries) and the output of journalctl command.
Asked
Active
Viewed 2,795 times
1 Answers
1
Rsyslog has a plugin to output events to journal.
It is called omjournal
Here is an example configuration for Red Hat
I don't know whether it can output rsyslog events directly from your iot to a remote systemd machine or that it can only import rsyslog events from your iot on your local machine and then output them to journal.
NZD
- 2,818