<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Splunk Forwarder Connection Refused from Splunk Indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69179#M14007</link>
    <description>&lt;P&gt;Windows Firewall is allowed, especially since the agents connect after I restart the Splunk Indexer (splunk.exe restart). After 2-4 minutes of the splunk indexer restart, they disconnect, connections are refused, then after about 5 minutes, the splunk server starts accepting the tcp connection again, but no data is being received by the indexer.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jun 2012 20:04:50 GMT</pubDate>
    <dc:creator>BP9906</dc:creator>
    <dc:date>2012-06-06T20:04:50Z</dc:date>
    <item>
      <title>Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69176#M14004</link>
      <description>&lt;P&gt;Ever since we added a few more Splunk Forwarders to our environment, the Splunk Server (search head, indexer, deployment server, Windows box) stopped accepting connections from the Forwarders.&lt;/P&gt;

&lt;P&gt;We have around 30 forwarders total, all going to the Splunk server.&lt;/P&gt;

&lt;P&gt;Splunk server is now 4.3.2 and no change. Restarting the Splunk server helps for about 2 minutes, then the agents reconnect and then end up in a failed state after a couple minutes.&lt;/P&gt;

&lt;P&gt;Forwarder splunkd.log shows:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;06-06-2012 11:27:11.884 -0700 INFO  TcpOutputProc - Connected to idx=splunkserver:9997&lt;BR /&gt;
06-06-2012 11:27:11.885 -0700 INFO  TcpOutputProc - Connected to idx=splunkserver:9997&lt;BR /&gt;
06-06-2012 11:28:03.981 -0700 INFO  BatchReader - Removed from queue file='/opt/splunkforwarder/var/log/splunk/metrics.log.2'.&lt;BR /&gt;
06-06-2012 11:29:41.070 -0700 INFO  BatchReader - Removed from queue file='/opt/splunkforwarder/var/log/splunk/metrics.log.5'.&lt;BR /&gt;
06-06-2012 11:29:55.226 -0700 WARN  TcpOutputFd - Connect to splunkserver:9997 failed. Connection refused&lt;BR /&gt;
06-06-2012 11:29:55.226 -0700 ERROR TcpOutputFd - Connection to host=splunkserver:9997 failed&lt;BR /&gt;
06-06-2012 11:29:55.226 -0700 WARN  TcpOutputFd - Connect to splunkserver:9997 failed. Connection refused&lt;BR /&gt;
06-06-2012 11:29:55.226 -0700 ERROR TcpOutputFd - Connection to host=splunkserver:9997 failed&lt;BR /&gt;
06-06-2012 11:29:55.226 -0700 INFO  TcpOutputProc - Detected connection to splunkserver:9997 closed&lt;BR /&gt;
06-06-2012 11:29:55.226 -0700 INFO  TcpOutputProc - Detected connection to splunkserver:9997 closed&lt;BR /&gt;
06-06-2012 11:29:56.553 -0700 WARN  TcpOutputFd - Connect to splunkserver:9997 failed. Connection refused&lt;BR /&gt;
06-06-2012 11:29:56.553 -0700 ERROR TcpOutputFd - Connection to host=splunkserver:9997 failed&lt;BR /&gt;
06-06-2012 11:29:56.553 -0700 WARN  TcpOutputFd - Connect to splunkserver:9997 failed. Connection refused&lt;BR /&gt;
06-06-2012 11:29:56.553 -0700 ERROR TcpOutputFd - Connection to host=splunkserver:9997 failed&lt;BR /&gt;
06-06-2012 11:29:56.553 -0700 WARN  TcpOutputProc - Applying quarantine to idx=splunkserver:9997 numberOfFailures=2&lt;BR /&gt;
06-06-2012 11:29:56.553 -0700 WARN  TcpOutputProc - Applying quarantine to idx=splunkserver:9997 numberOfFailures=2&lt;BR /&gt;
06-06-2012 11:30:25.221 -0700 INFO  TcpOutputProc - Removing quarantine from idx=splunkserver:9997&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Splunk Server splunkd.log doesnt show much related to the inbound connections. Perhaps a debug flag needs to be set?&lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 18:46:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69176#M14004</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2012-06-06T18:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69177#M14005</link>
      <description>&lt;P&gt;I thought I'd also add that telnet splunkserver 9997 shows connection refused.&lt;BR /&gt;
When I'm on the splunkserver box directly and do telnet localhost 9997 I get the same. Netstat -ano revals its listening on 9997 and has splunkd.exe as the PID owning the port.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 18:51:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69177#M14005</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2012-06-06T18:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69178#M14006</link>
      <description>&lt;P&gt;Firewalls in play?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 19:56:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69178#M14006</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-06-06T19:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69179#M14007</link>
      <description>&lt;P&gt;Windows Firewall is allowed, especially since the agents connect after I restart the Splunk Indexer (splunk.exe restart). After 2-4 minutes of the splunk indexer restart, they disconnect, connections are refused, then after about 5 minutes, the splunk server starts accepting the tcp connection again, but no data is being received by the indexer.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 20:04:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69179#M14007</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2012-06-06T20:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69180#M14008</link>
      <description>&lt;P&gt;So is there some window in which telnet splunkserver 9997 &lt;EM&gt;does&lt;/EM&gt; work?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 20:11:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69180#M14008</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2012-06-06T20:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69181#M14009</link>
      <description>&lt;P&gt;Yep, and that window is upon restart of the Splunk server (ie splunk.exe restart command). After that short window, all the forwarders stop receiving.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 20:56:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69181#M14009</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2012-06-06T20:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69182#M14010</link>
      <description>&lt;P&gt;Solution found!&lt;/P&gt;

&lt;P&gt;Etc/system/local/inputs.conf&lt;/P&gt;

&lt;P&gt;[splunktcp://9997]&lt;BR /&gt;
connection_host = none&lt;/P&gt;

&lt;P&gt;restart splunk server and its fixed. DNS was holding it all up.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2012 21:50:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69182#M14010</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2012-06-11T21:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69183#M14011</link>
      <description>&lt;P&gt;Yeah! This was finally the solution to my problem, too. Our forwarders showed a lot of "WARN  TcpOutputProc - Cooked connection to ip=x.x.x.x:9997 timed out"-messages in the logs. Finally, we lost data, even with two indexers and useACK=true in place. We could trace it back to the not configured &lt;CODE&gt;connection_host&lt;/CODE&gt;-setting of the indexers which defaulted to "dns". Since we don't use a DNS-Server in out network, the number of forwarders we deployed finally slowed everything down and finally lead to data which couldn't be indexed. &lt;CODE&gt;connection_host = none&lt;/CODE&gt; solved it all.&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2013 13:27:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69183#M14011</guid>
      <dc:creator>lrudolph</dc:creator>
      <dc:date>2013-12-11T13:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69184#M14012</link>
      <description>&lt;P&gt;Did you ever find out why DNS resolution became a problem?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Apr 2014 02:15:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69184#M14012</guid>
      <dc:creator>dstaulcu</dc:creator>
      <dc:date>2014-04-26T02:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69185#M14013</link>
      <description>&lt;P&gt;Yep, that's a "Me too". This little gem was causing all types of slowness on the delivery of events and the unpredicatble connection of UFs. Adding SSL to the UF-HF connection seems to make it even worse. UF's complained &lt;BR /&gt;
Connect to x.x.x.x:9997 failed. No connection could be made because the target machine actively refused it&lt;BR /&gt;
Connection to host=x.x.x.x:9997 failed&lt;BR /&gt;
Cooked connection to ip=x.x.x.x:9997 timed out&lt;/P&gt;

&lt;P&gt;Thanks               ...Laurie:{)&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2014 05:05:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69185#M14013</guid>
      <dc:creator>laurie_gellatly</dc:creator>
      <dc:date>2014-05-30T05:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69186#M14014</link>
      <description>&lt;P&gt;I have the same issue. What was your resolution ? I'm on 6.1.5 now. &lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2015 14:20:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69186#M14014</guid>
      <dc:creator>kreszan</dc:creator>
      <dc:date>2015-01-22T14:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69187#M14015</link>
      <description>&lt;P&gt;The Connection_Host setting, where is that and in this case was it on the indexer/s or the forwarder that you changed it ?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2015 11:31:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69187#M14015</guid>
      <dc:creator>AaronMoorcroft</dc:creator>
      <dc:date>2015-08-03T11:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69188#M14016</link>
      <description>&lt;P&gt;Not sure how you figured this out but thanks a ton!!!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 05:11:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69188#M14016</guid>
      <dc:creator>msclimenti</dc:creator>
      <dc:date>2016-01-29T05:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69189#M14017</link>
      <description>&lt;P&gt;This is a setting on the indexers.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 03:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69189#M14017</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-10-26T03:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69190#M14018</link>
      <description>&lt;P&gt;Where to keep these settings?&lt;BR /&gt;
My 2 Heavy forwarders, cluster master or all of my 10 indexers?&lt;BR /&gt;
@BP9906 @lrudolph @msclimenti &lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 09:07:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69190#M14018</guid>
      <dc:creator>muez</dc:creator>
      <dc:date>2020-05-06T09:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69191#M14019</link>
      <description>&lt;P&gt;On the indexers.&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 13:13:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69191#M14019</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-05-06T13:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69192#M14020</link>
      <description>&lt;P&gt;From the documentation it says it can be put at various levels in the inputs.conf.&lt;BR /&gt;
I find it easier to set connection_host = ip since it does not perform reverse dns lookup and you get the IP if the hostname is not provided via the splunkforwarder (ie if its syslog or something). &lt;/P&gt;

&lt;P&gt;To answer your question, you would want to review the connection_host setting on any receiving end which would be your heavy forwarders and indexers. &lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 21:55:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/69192#M14020</guid>
      <dc:creator>BP9906</dc:creator>
      <dc:date>2020-05-06T21:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Forwarder Connection Refused from Splunk Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/517126#M87512</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I did same, you all suggested, but it doesn't work me&lt;/P&gt;&lt;P&gt;Etc/system/local/inputs.conf&lt;/P&gt;&lt;P&gt;[splunktcp://9997]&lt;BR /&gt;connection_host = none&lt;/P&gt;&lt;P&gt;Any other work around?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2020 21:27:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-Forwarder-Connection-Refused-from-Splunk-Indexer/m-p/517126#M87512</guid>
      <dc:creator>Fernandisstepha</dc:creator>
      <dc:date>2020-08-31T21:27:43Z</dc:date>
    </item>
  </channel>
</rss>

