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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...