Hello,

2017-11-19 11:09 GMT+01:00 Haim Ari <[email protected]>:
>
> Hello,
>
>
> Our haproxy sends logs through rsyslog (UDP) many messages are "chopped" 
> after ~ 1300 characters
>
> After some testing i think the limit is MTU
>
>
> What would be the right way to handle this so that all messages (~3K) will 
> arrive correctly through UDP?

I assume the URI itself is chopped, not the message.


The default maximum URI length in logging is 1024 characters, you can
increase it by recompiling Haproxy with:
DEFINE=-DREQURI_LEN=<yourvaluehere>

Starting with haproxy 1.8 we can adjust this at runtime, with the
tune.http.logurilen directive:
https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#tune.http.logurilen



Regards,
Lukas

Reply via email to