Getting Data In

Encountered the following error while trying to save: In handler 'tcpout-server': servername:9997, servername:9997, servername:9997, servername:9997, specified in incorrect format. Please specify in : form

shandman
Path Finder

I am trying to "Add new" in Forwarding and Receiving / Forward data. I simply want to add my Load Balanced Indexers, but it will not save / rather get the above error message. I know I can probably just edit the outputs.conf manually, but I don't understand why this won't work.
Ideas?

1 Solution

MuS
Legend

Hi shandman,

Just trust the UI like it said Enter host:port to forward data to. Data will be auto load balanced to each host:port. So if you want to add multiple servers, just add one by one and you will get an outputs.conf like this:

[tcpout]
defaultGroup = default-autolb-group

[tcpout-server://servername:9997]

[tcpout:default-autolb-group]
disabled = false
server = servername:9997,servername1:9997

[tcpout-server://servername1:9997]

I added first servername:9997 saved and added servername1:9997 as second.

Hope that helps ...

cheers, MuS

View solution in original post

MuS
Legend

Hi shandman,

Just trust the UI like it said Enter host:port to forward data to. Data will be auto load balanced to each host:port. So if you want to add multiple servers, just add one by one and you will get an outputs.conf like this:

[tcpout]
defaultGroup = default-autolb-group

[tcpout-server://servername:9997]

[tcpout:default-autolb-group]
disabled = false
server = servername:9997,servername1:9997

[tcpout-server://servername1:9997]

I added first servername:9997 saved and added servername1:9997 as second.

Hope that helps ...

cheers, MuS

shandman
Path Finder

Oh wow! Nice. The description in the documentation made it sound like you could enter them all in one go, separated by comma's. This makes sense. TY!!

0 Karma

shandman
Path Finder

Can anyone help with this?

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...