I want to configure my Linux machine using rsyslogd with the simplest yet standard way. I'll save all the logs to /var/log/syslog with rotation.

From my research it looks like the standard syslog format is defined by rfc5424, and I assume rsyslogd supports that format out of the box.

Yet I can't find any built-in template for rfc5424 in the rsyslogd documentation.

So how can I configure my rsyslogd for rfc5424 format?


Rsyslog has a built-in template named RSYSLOG_SyslogProtocol23Format which is RFC5424 compatible.

Beats me why it does not define a template with more explicit name...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.