Open scalp42 opened 4 years ago
Hi @yyuu
I'm trying to use the transport directive and modify the message_length_limit for udp:
transport
message_length_limit
<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:
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!
@yyuu I'm seeing the same issue too. Is there any workaround we could use?
Hi @yyuu
I'm trying to use the
transport
directive and modify themessage_length_limit
for 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!