puppet-tripleo/templates/rsyslog_sidecar/rsyslog.conf.erb
Juan Antonio Osorio Robles c0ad8cd4cc Add profile to configure the rsyslog sidecar container
For services that log to syslog (such as swift and haproxy), a sidecar
container that reads from syslog and outputs to stdout is needed. This
container will have a very static configuration, but needs to be
configured somehow anyway; thus, a small profile was added for this.

bp logging-stdout-rsyslog

Change-Id: I4864ddca223becd0a17f902729cf2e566df5e521
2017-11-13 13:39:44 +00:00

8 lines
221 B
Plaintext

module(load="imuxsock" syssock.Use="off")
input(type="imuxsock" socket="<%= @socket_path %>")
template(name="messageonly" type="string" string="%msg%\n")
action(type="omfile" file="/dev/stdout" template="messageonly")