<?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: Why isn't Splunk working with a new forwarder client? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166694#M33776</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;The first step would be to run from&lt;BR /&gt;
the client the following - telnet&lt;BR /&gt;
'splunk server host' 9997&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I get this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Trying x.x.x.x...
telnet: connect to address x.x.x.x: Connection refused
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where x.x.x.x is the IP address of the main Splunk server (aka the indexer).&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jan 2015 01:34:37 GMT</pubDate>
    <dc:creator>AllenRed</dc:creator>
    <dc:date>2015-01-01T01:34:37Z</dc:date>
    <item>
      <title>Why isn't Splunk working with a new forwarder client?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166692#M33774</link>
      <description>&lt;P&gt;I have Splunk working on one server (an indexer) with one other server as its client (with the Universal forwarder).  All my machines are Linux.  I want to get Splunk to work with an additional client.    &lt;/P&gt;

&lt;P&gt;It seems like port 9997 is closed on my network. At this time of year, I cannot get someone to determine if it is open or not. iptables doesn't block this port on either machine (the client forwarder that I want to get working or the Splunk server). I installed telnet on both machines. &lt;/P&gt;

&lt;P&gt;On the forwarder I want to get working for the first time, the output of this command (from /opt/splunkforwarder/bin/) is nothing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; # ./splunk cmd btool output list --debug 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The output of this command from /opt/splunkforwarder/bin/ (from a client server that is not yet a forwarder),&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; # ./splunk cmd btool inputs list splunktcp --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;is as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; /opt/splunkforwarder/etc/apps/SplunkUniversalForwarder/default/inputs.conf [splunktcp]
 /opt/splunkforwarder/etc/system/default/inputs.conf                        _rcvbuf = 1572864
 /opt/splunkforwarder/etc/system/default/inputs.conf                        acceptFrom = *
 /opt/splunkforwarder/etc/system/default/inputs.conf                        connection_host = ip
 /opt/splunkforwarder/etc/system/local/inputs.conf                          host = cooltest.domainName.cloud
 /opt/splunkforwarder/etc/system/default/inputs.conf                        index = default
 /opt/splunkforwarder/etc/apps/SplunkUniversalForwarder/default/inputs.conf route = has_key:tautology:parsingQueue;absent_key:tautology:parsingQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On the main Splunk server, I did a tail of the splunkd.log file.  I found this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;12-31-2014 16:12:28.663 -0800 ERROR TcpOutputFd - Connection to host=x.x.x.x:80 failed
12-31-2014 16:12:58.665 -0800 WARN  TcpOutputFd - Connect to x.x.x.x:80 failed. Connection refused
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where x.x.x.x is the IP address of the client server that I want to forward.  nmap showed that port 80 was blocked between the servers.  &lt;/P&gt;

&lt;P&gt;On the client server (that I want to be a forwarder), I did a tail of the splunkd.log file.  I found this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;01-01-2015 00:16:47.426 +0000 ERROR TcpOutputFd - Connection to host=y.y.y.y:9997 failed
01-01-2015 00:16:48.429 +0000 WARN  TcpOutputProc - Forwarding to indexer group default-autolb-group blocked for 9600 seconds.
01-01-2015 00:17:17.428 +0000 WARN  TcpOutputFd - Connect to y.y.y.y:9997 failed. Connection refused
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Where y.y.y.y is the IP address of main Splunk server.&lt;/P&gt;

&lt;P&gt;What should I do to get Splunk working with this client server?  I want the client server to be a forwarder.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2015 00:25:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166692#M33774</guid>
      <dc:creator>AllenRed</dc:creator>
      <dc:date>2015-01-01T00:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk working with a new forwarder client?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166693#M33775</link>
      <description>&lt;P&gt;The first step would be to run from the client the following -&lt;BR /&gt;
telnet 'splunk server host' 9997&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Dan&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2015 00:36:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166693#M33775</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2015-01-01T00:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk working with a new forwarder client?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166694#M33776</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;The first step would be to run from&lt;BR /&gt;
the client the following - telnet&lt;BR /&gt;
'splunk server host' 9997&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I get this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Trying x.x.x.x...
telnet: connect to address x.x.x.x: Connection refused
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where x.x.x.x is the IP address of the main Splunk server (aka the indexer).&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2015 01:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166694#M33776</guid>
      <dc:creator>AllenRed</dc:creator>
      <dc:date>2015-01-01T01:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Why isn't Splunk working with a new forwarder client?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166695#M33777</link>
      <description>&lt;P&gt;No good – no connectivity ... did you put the port as well in the telnet command? &lt;/P&gt;</description>
      <pubDate>Thu, 01 Jan 2015 01:50:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-isn-t-Splunk-working-with-a-new-forwarder-client/m-p/166695#M33777</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2015-01-01T01:50:45Z</dc:date>
    </item>
  </channel>
</rss>

