I know it is possible to easily forward the Nagios Log Server logs to another destination as explained here: https://support.nagios.com/kb/article/f ... n-876.html.
However, the forwarded messages seem to be in JSON format when logged by a remote rsyslog server. Is there a simple way to format these messages into RFC 3164 format before being forwarded?
To me this implies an output filter. Perhaps there an existing filter that can do this or would it need to be defined from scratch?
Forwarding Logs from Nagios Log Server with RFC 3164 format
-
- Posts: 1
- Joined: Fri Dec 24, 2021 4:15 pm
Re: Forwarding Logs from Nagios Log Server with RFC 3164 for
You should just be able to use the syslog output, by default it will use rfc3164:
https://www.elastic.co/guide/en/logstas ... yslog.html
https://www.elastic.co/guide/en/logstas ... yslog.html
Code: Select all
syslog {
host => '<ip of destination server>'
port => '514'
}