Splunk Search

Syslog forwarding and load balancing



I would like to know if it is possible to have load balancing for the syslog forwarding feature of Splunk. For exemple, is it possible to have something like the following in outputs.conf:

server = server1:514, server2:514
type = udp

Thank you in advance.

Tags (1)
0 Karma

Ultra Champion

According to the documentation you should be able to do this, using the following syntax

defaultGroup = syslog:syslog_fwd_svr1, syslog:syslog_fwd_svr2

server = server1:514

server = server2:514

However, I have not tested this, nor can I guess how (or if) it will load balance messages.
Since its UDP, you should probably expect some level of duplication & inconsistency.

Side note: this feature is not available on Universal Forwarders


If my comment helps, please give it a thumbs up!
0 Karma


No, it is not possible to do that with a single port. You will need to designate a different port for server2.

0 Karma
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...