<?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: NOT a question: A heavy forwarder can be listening on port 9997 and still look like that port is down or blocked. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323074#M60160</link>
    <description>&lt;P&gt;LOL it was rebooted exactly 14 days earlier.  &lt;/P&gt;</description>
    <pubDate>Thu, 23 Feb 2017 16:46:59 GMT</pubDate>
    <dc:creator>lycollicott</dc:creator>
    <dc:date>2017-02-23T16:46:59Z</dc:date>
    <item>
      <title>NOT a question: A heavy forwarder can be listening on port 9997 and still look like that port is down or blocked.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323068#M60154</link>
      <description>&lt;P&gt;First, some quick background about this tip.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Our Ops guys reported no recent events for their searches.&lt;/LI&gt;
&lt;LI&gt;Universal Forwarders, Heavy Forwarders and Indexers were all up.&lt;/LI&gt;
&lt;LI&gt;Those Ops guys were right!  No recent events anywhere - not even _internal!&lt;/LI&gt;
&lt;LI&gt;We cracked our knuckles and told them not to panic.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;All these machines run Windows, so from a UF node we used Powershell to test the port on the HF:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$(new-object net.sockets.tcpclient).connect("10.xx.xx.xx",9997)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If that command is successful it will immediately return a good old C: prompt, but will throw an error afer a few seconds if it is unsuccessful.  In our case it was unsuccessful.  Grrr.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;netstat -an&lt;/CODE&gt; showed that 9997 was listening on HF.  Grrr.&lt;BR /&gt;
Firewall guys said everything was cruising through unfettered.  Grrr.&lt;/P&gt;

&lt;P&gt;After growling for a bit and questioning the sanity of the firewall guys I looked at the indexer.  Yup, it was running.  Looked again and found this:&lt;/P&gt;

&lt;P&gt;There was 9997 listening on the indexer...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PS C:\Windows\system32&amp;gt; netstat -an | findstr "9997"
  TCP    0.0.0.0:9997           0.0.0.0:0              LISTENING
  TCP    10.54.54.70:9997       10.54.52.85:60353      ESTABLISHED
  TCP    10.54.54.70:9997       10.54.54.32:52020      ESTABLISHED
  TCP    10.54.54.70:9997       10.54.54.32:52315      CLOSE_WAIT
  TCP    10.54.54.70:9997       10.54.54.33:51987      ESTABLISHED
  TCP    10.54.54.70:9997       10.54.54.33:52202      CLOSE_WAIT
  TCP    10.54.54.70:9997       10.54.54.33:52203      CLOSE_WAIT
  TCP    10.54.54.70:9997       10.54.54.34:63000      ESTABLISHED
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But wait a minute....it isn't.....&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;PS C:\Windows\system32&amp;gt; netstat -an | findstr "LISTEN"
      TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
      TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
      TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:5985           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8089           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:8191           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:9887           0.0.0.0:0              LISTENING
      TCP    0.0.0.0:10000          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:47001          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49152          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49153          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49154          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49155          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49183          0.0.0.0:0              LISTENING
      TCP    0.0.0.0:49198          0.0.0.0:0              LISTENING
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;.&lt;BR /&gt;
Well.&lt;/P&gt;

&lt;P&gt;So, the heavy forwarder accepted my incoming Powershell connection and routed that connection right over to the indexer where it failed.  I bounced the indexer and like magic it was fixed.&lt;/P&gt;

&lt;P&gt;I like to share the strange, silly and stupid things I notice, so maybe this will help someone somewhere keep from staring at their screen in confusion for 30 minutes like I did today.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 20:58:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323068#M60154</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2017-02-22T20:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: NOT a question: A heavy forwarder can be listening on port 9997 and still look like that port is down or blocked.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323069#M60155</link>
      <description>&lt;P&gt;Just sharing. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 20:59:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323069#M60155</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2017-02-22T20:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: NOT a question: A heavy forwarder can be listening on port 9997 and still look like that port is down or blocked.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323070#M60156</link>
      <description>&lt;P&gt;Let me guess: The Indexers are Windows OS, right?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 07:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323070#M60156</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-02-23T07:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: NOT a question: A heavy forwarder can be listening on port 9997 and still look like that port is down or blocked.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323071#M60157</link>
      <description>&lt;P&gt;Oh, yeah.  Wheeeeeee.&lt;/P&gt;

&lt;P&gt;I think I am slowly making headway on a campaign to go Linux.  Wish me luck!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 13:27:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323071#M60157</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2017-02-23T13:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: NOT a question: A heavy forwarder can be listening on port 9997 and still look like that port is down or blocked.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323072#M60158</link>
      <description>&lt;P&gt;We had recently the same behavior on Linux for the indexers. The situation was so severe that we ended up creating a monitoring page for port 9997 for all the indexers. If the port is blocked and doesn't get open in a timely manner, our procedure is to bounce the indexer. &lt;/P&gt;

&lt;P&gt;The root cause, in our case, was the fact that the indexing queues were filled up and by making them bigger, the situation is much better.&lt;/P&gt;

&lt;P&gt;We need probably to open an enhancement request for this type of behavior. &lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 14:40:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323072#M60158</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-02-23T14:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: NOT a question: A heavy forwarder can be listening on port 9997 and still look like that port is down or blocked.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323073#M60159</link>
      <description>&lt;P&gt;And you skipped your &lt;CODE&gt;monthly reboot&lt;/CODE&gt;!&lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 14:52:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323073#M60159</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-02-23T14:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: NOT a question: A heavy forwarder can be listening on port 9997 and still look like that port is down or blocked.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323074#M60160</link>
      <description>&lt;P&gt;LOL it was rebooted exactly 14 days earlier.  &lt;/P&gt;</description>
      <pubDate>Thu, 23 Feb 2017 16:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/NOT-a-question-A-heavy-forwarder-can-be-listening-on-port-9997/m-p/323074#M60160</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2017-02-23T16:46:59Z</dc:date>
    </item>
  </channel>
</rss>

