Getting Data In

Forwarder Load Balancer duplicating data problem.

clyde772
Communicator

I am trying to have LB setup to send large volume of data into 4 different INDEXES in round robin structure.

But when I set up the forwarder LB, the forwarder sends exact duplicate copies of data into 4 of those indexers instead of scattering the data amongst the indexers.

So 100G sent from forwarder, 100G shows up on each indexers, instead of 25G per indexers. How can I setup forwarder to load 100G of data into 4 indexer consuming 25G on each indexers.

Here is my outputs.conf following the docementation. Am I missing any tricks?

================ outputs.conf =====================

[tcpout:10.150.206.29_9997]
disabled=false
autoLB = true
autoLBFrequency=40
server = 10.150.206.29:9997

[tcpout:10.150.233.4_9997]
disabled=false
autoLB = true
autoLBFrequency=40
server = 10.150.233.4:9997

[tcpout:10.154.39.173_9997]
disabled=false
autoLB = true
autoLBFrequency=40
server = 10.154.39.173:9997

[tcpout:10.150.201.29_9997]
disabled=false
autoLB = true
autoLBFrequency=40
server = 10.150.201.29:9997

[tcpout]
defaultGroup = 10.150.206.29_9997,10.150.233.4_9997,10.154.39.173_9997,10.150.201.29_9997

=====================================================

Tags (2)
0 Karma

lguinn2
Legend

I think of it this way: each stanza sets up a duplicate output stream. So what you need is:

[tcpout]
defaultGroup = my_indexers

[tcpout:my_indexers]
disabled=false
autoLB = true
autoLBFrequency=40
server = 10.150.206.29:9997,10.150.233.4:9997,10.154.39.173:9997,10.150.201.29:9997

And it's shorter, too!

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...