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
Get Updates on the Splunk Community!

BSides Splunk 2022 - The Call for Papers is now Open!

TLDR; Main Site: https://bsidessplunk.com CFP Site: https://bsidessplunk.com/cfp CFP Opens: December 15th, ...

Sending Metrics to Splunk Enterprise With the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

What's New in Splunk Cloud Platform 9.0.2208?!

Howdy!  We are happy to share the newest updates in Splunk Cloud Platform 9.0.2208! Analysts can benefit ...