How to use the journald properies in the rsyslog template definition in Red Hat Enterprise Linux 7
Issue
- I want to define a custom template to format the output message in rsyslogd.
- The message from docker container includes some information like CONTAINER_NAME and CONTAINER_ID.
- How to define the custom template to output those information?
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.