Hello All,
I am implementing syslog log load balancing using both tcp and udp. and below is configuration toforward logs to backend servers.
But I am facing problem to forward the source IP as it is. Please help me to fix the issue.
UDP Service STARTS HERE
ring syslogtcpsrv
format rfc3164
size 32764
maxlen 1200
server lSr1 x.x.x.x:514 log-proto octet-count
log-forward syslog-server
dgram-bind *:514
log global
log ring@syslogtcpsrv local3
log x.x.x.x:514 sample 1:6 local3
UDP Service ENDS HERE
TCP Service STARTS HERE
frontend input-514
bind *:514
mode tcp
default_backend backend_server
backend backend_server
mode tcp
default-server inter 3s fall 2 rise 3
server sr1 x.x.x.x:514