How to use the journald properies in the rsyslog template definition in Red Hat Enterprise Linux 7

Solution Verified - Updated -


  • 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?


Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content