21 lines
417 B
Text
21 lines
417 B
Text
# Local udp/tcp syslog configuration managed by Puppet (soc::rsyslog)
|
|
#
|
|
|
|
<% if @udp_port -%>
|
|
module(load="imudp")
|
|
input(type="imudp" port="<%= @udp_port %>")
|
|
<% end -%>
|
|
|
|
<% if @tcp_port -%>
|
|
module(load="imtcp")
|
|
input(type="imtcp" port="<%= @tcp_port %>")
|
|
<% end -%>
|
|
|
|
<% if @relp_port -%>
|
|
module(load="imrelp")
|
|
input(
|
|
type="imrelp"
|
|
port="<%= @relp_port %>
|
|
maxDataSize="10k"
|
|
oversizeMode="trucate")
|
|
<% end -%>
|