Hi @yyuu
I'm trying to use the transport directive and modify the message_length_limit for udp:
<transport udp>
message_length_limit 4096
</transport>
Unfortunately the following Chef code won't work:
td_agent_source 'syslog_docker_input' do
type 'syslog'
parameters(
port: 5140,
protocol_type: 'udp',
parse: {
message_format: 'rfc5424',
},
'transport udp' => {
message_length_limit: 4096,
},
'@log_level': 'info'
)
end
The end result config is messed up as it tries to add transport udp:
<source>
@type syslog
port 5140
protocol_type udp
<parse>
message_format rfc5424
</parse>
<transport udp>
message_length_limit 1000000
</transport udp> # <=== This is wrong
Any clues how to work around this?
Thanks in advance!
Hi @yyuu
I'm trying to use the
transportdirective and modify themessage_length_limitfor udp:Unfortunately the following Chef code won't work:
The end result config is messed up as it tries to add
transport udp:Any clues how to work around this?
Thanks in advance!