Getting Data In

CLI "list forwarder" does not show all active forwarder when enabling load balance.

Path Finder

Hello Splunk professional,

I would like to know how to work the CLI command "splunk list forward-server" in Universal Forwarder which is enabled load balance.
In my opiniton, I wonder that Active forwards would be showed two indexer IP addresses. while there is just one IP address of indexer which is returned as result by the CLI command "splunk list forward-server" , and there is another indexer IP address in "Configured but inactive forwards:".

Is it correct result?
Also what is the best way to enable "load balance" in UF if it is not showed all in "Active forwards:".

I appreciate any advice.

Best regards,

0 Karma

Path Finder

Hi @Shuhei052492,

What you are seeing means you have set up forwarding correctly.

The universal forwarder has 2 indexers set up, and it will automatically load balance between them.

By default, it will send to one indexer for 30 seconds, then switch to the other for 30 seconds, then back to the first. It will only send data to one indexer at a time.

You can test this out by running splunk list forward-server then waiting 35 seconds, then running it again.

You can also configure the forwarders to load balance based on data volume, to try to get an even spread of data in your indexers.

Check out the docs here:

Get Updates on the Splunk Community!

What’s new on Splunk Lantern in August

This month’s Splunk Lantern update gives you the low-down on all of the articles we’ve published over the past ...

Welcome to the Future of Data Search & Exploration

You have more data coming at you than ever before. Over the next five years, the total amount of digital data ...

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

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