Getting Data In

Why are we getting an error routing data from heavy forwarders to indexers after enabling SSL?

vinaykata
Path Finder

Hey Happy New Year Splunkers'

We want to forward data from Universal Forwarder --> Heavy Forwarder --> Indexers --> Search Head using SSL b\w HF and Indexers.
We have enabled SSL and we have an error appear "Most likely cause is the scheme or the port number is wrong".
I am not sure that do I have to put stanza of certificate path and port number in config files. And can some tell me what do I need to show up in UF configs and HF configs.

Here are the inputs and outputs config files from HF.

inputs.conf
[default]
host = xxxx

outputs.conf
[tcpout]
defaultGroup = default-autolb-group

[tcpout-server://xxx.xx.xx.x:9997]

[tcpout-server://xxx.xx.xx.x:9997]

[tcpout:default-autolb-group]
disabled = false
server = xxx.xx.xx.x,.xxx.xx.xx.x

[tcpout-server://xxx.xx.xx.x:9997]

Please suggest me if I need to change anything in these configs.

0 Karma

micahkemp
Champion

Your outputs.conf probably needs to look like this instead:

[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
disabled = false
server = xxx.xx.xx.x:9997,.xxx.xx.xx.x:9997

From the docs, [tcpout-server:] is for single server configuration, not for multiple like you're trying. And the server configuration in your [tcpout:<group>] needs to have :<port>, as I included in my example.

0 Karma
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!

Fuel Your Journey: What’s Waiting for You at the .conf26 Acceleration Station

Navigating the show floor at .conf26 isn't just about keynotes and technical breakout sessions; it's also ...

Join the Final Session of the Data Management & Federation Bootcamp Series

Over the past three sessions of the Data Management & Federation Bootcamp Series, we've explored how to build ...

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...