Getting Data In

Universal Fowarder does not send data to Splunk Forwarder, Indexer


Hi all,

Still new to Splunk management....

For some reason a Splunk Universal Forwarder (Windows) is not forwarding logs to my Splunk Forwarder and then the Splunk Indexer.

Universal forwarder (6.4.2) was installed successfully on a Windows 2008 R2 VM. Running netstat I can see that the connection between this server and the SPlunk Forwader is established on port 9997. Likewise on Splunk Forwarder server the netstat shows the connection esbalished. No Windows firewall on either server.

However on the splunkd.log file from the Windows Server (Universal Forwarder client) I can see the following message:

"Connection to host=SplunkForwarderIP:9997 failed. No connection could be made because the target machine actively refused it."
"Connect to SplunkForwarderIP:9997 failed"

Universal Forwarder and Splunk Forwarder are on different networks separated by a Layer3 switch. Traffic between these 2x networks have been completely open. Hence netstat shows connection established and telnet works fine.

The Splunk Forwarder then sends data to the Indexer on Local site and also to Indexer on DR site.

Splunk Forwarder server has been configured to receive data on 9997.

I am really struggling with this one, so would appreciate comments and suggestions.

Maybe next step is to install WireShark on SPlunkForwarder to capture the traffic and understand why it is refusing connection from UniversalForwarderClient VM.

inputs.conf (...etc\system\local)
host = testserver
disabled = 0

outputs.conf (...etc\system\local)
defaultGroup = default-autolb-group
server = SplunkIndexerIP:9997

inputs.conf (...\etc\apps\Splunk_TA_windows\local)
disabled = 0
disabled = 0

defaultGroup = default-autolb-group
indexAndForward = 1


disabled = false
server = SplunkIndexerLocalSiteHostname:9997,SplunkIndexerDRSiteHostname:9997

Ultra Champion

A good place to start is at I can't find my data!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...