<div dir="auto"><div>Hi,</div><div dir="auto"><br></div><div dir="auto">You can define multiple destinations and route traffic based on $MSEC or $RCPTID thereby load balancing traffic.</div><div dir="auto"><br></div><div dir="auto">The destination IP/port can be the same for all of these destinations, as long as you use the persist-name() option (which defaults to a name that contains IP/port, and cannot collide).</div><div dir="auto"><br></div><div dir="auto">We even had an SCL macro somewhere to wrap this nicely into a simple destination driver. load-balancer() or something.</div><div dir="auto"><br></div><div dir="auto">The point is that we can easily create something that looks like a destination driver and wraps this routing complexity away.</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Thu, Jun 8, 2023, 13:05 Steve Bernacki <<a href="mailto:steve@copacetic.net">steve@copacetic.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
We have a syslog TCP destination that receives logs from many different <br>
destinations. During peak log volume times, this destination begins to <br>
back up and queue. We've found that if we define multiple destinations <br>
for the same IP/port and route logs through these multiple destinations, <br>
the destination is able to handle these peak log volume times much better.<br>
<br>
Our current solution of having a destination for each source is pretty <br>
kludgy. Is there a way to define a TCP destination and specify to open, <br>
say, 10 connections to the destination and load balance the traffic over <br>
those 10 connections?<br>
<br>
Thanks.<br>
Steve<br>
<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</blockquote></div></div></div>