Getting Data In

Why are we getting error "TcpOutputProc - Cooked connection...timed out" from our universal forwarder on an OS X machine?

cpreasbeck
Engager

Hello,

I currently have the following error with a universal forwarder on an OS X machine:

-0700 WARN  TcpOutputProc - Cooked connection to ip=IP:PORT timed out

I'm not sure why it is having issues sending logs to Splunk. We have linux machines that seem to be working fine. Anyway, here is my inputs and outputs conf files:

Inputs.conf

[monitor:///var/log/]

Outputs.conf

[tcpout]
defaultGroup=defaultindexer

[tcpout:defaultindexer]
server = IP:PORT

The connection is established and we can even see traffic to the indexer, but it is not the logs. I have looked at many articles with similar issues, but it doesn't seem to pertain to my issue. Any idea as to why we are having this problem?

0 Karma

changux
Builder

Definitely, is a firewall/network/configuration issue, please double check firewall rules/certs/network segments.
You can check some of previous answered questions with the same error:

http://answers.splunk.com/answers/218422/tcpoutputproc-cooked-connection-to-iptimed-out.html
http://answers.splunk.com/answers/38206/cooked-connection-timed-out.html

And this about digital certs:

http://wiki.splunk.com/Community:Splunk2Splunk_SSL_DefaultCerts

rsennett_splunk
Splunk Employee
Splunk Employee

First step is to take it literally... firewall blocking, different subnet (the route doesn't exist) etc. If it's isolated to the one machine, it's likely going to be something along those lines. If you were having it pop up often and in different places, then it would be suggesting that your indexer was overloaded and that it was perhaps time to scale.

So check the heck out of the connection and come back here with assurances that it "should" be and "could" be getting through but isn't...

With Splunk... the answer is always "YES!". It just might require more regex than you're prepared for!
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!

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

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...