Getting Data In

How to connect the Windows Universal Forwarder to a Splunk Sandbox

abolduc
New Member

Hello All,

I can't see to find the answer to getting the Windows Universal Forwarder connected to the online sandbox.

My output.conf file is:

[tcpout]
defaultGroup = default-autolb-group,sandbox

[tcpout:default-autolb-group]
disabled = false 
server = input-xxx-my-sandbox-url-xxx.cloud.splunk.com:9997

[tcpout:sandbox] 
disabled = false
server = input-xxx-my-sandbox-url-xxx.cloud.splunk.com:9997

Receiving is configured on my sandbox for port 9997 and I can telnet to it.

My splunkd.log file repeats the following msg:

12-29-2014 15:07:08.592 -0500 ERROR TcpOutputFd - Read error. An existing connection was forcibly closed by the remote host.
12-29-2014 15:07:14.307 -0500 INFO  DC:DeploymentClient - channel=tenantService/handshake Will retry sending handshake message to DS; err=not_connected
12-29-2014 15:07:26.309 -0500 INFO  DC:DeploymentClient - channel=tenantService/handshake Will retry sending handshake message to DS; err=not_connected
12-29-2014 15:07:38.310 -0500 INFO  DC:DeploymentClient - channel=tenantService/handshake Will retry sending handshake message to DS; err=not_connected
12-29-2014 15:07:38.593 -0500 ERROR TcpOutputFd - Read error. An existing connection was forcibly closed by the remote host.

I've also tried connect to my sandbox URL without the "input-" prefix. Anyone have some pointers as to what I'm missing?

Thanks

0 Karma

ppablo
Retired

Hi @abolduc

Not sure if you already found your answer for this, but I saw on a previous post that the process for configuring a universal forwarder to send data to the sandbox had changed last month. According to @ryoung_splunk on this post:
http://answers.splunk.com/answers/149659/can-you-forward-data-to-the-sandbox-server-with-a-universal...

"Since early December 2014 the steps to use a forwarder in the sandbox have changed. To forward data to a sandbox you can use Universal Forwarder App available in Splunk Online Sandbox. The Universal Forwarder App includes the information and credentials necessary to download, install, and authorize you to forward data to Splunk Online Sandbox. After you sign in to Splunk Online Sandbox, choose Universal Forwarder from the Apps menu, and follow the Universal Forwarder app instructions."

ppablo
Retired
0 Karma

abolduc
New Member

The first link is where I got the hint to prefix my sandbox URL with "input-". My config matches the one offered at the end of that post as well. The second link I've also see but I've manually configured my output.conf file; running the first command only results in a message that says "forwarded-server already present". Thanks

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!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...