<?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 HEC token is not working in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682477#M19019</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt;&amp;nbsp;After further investigation I found that the tcp port 8088 is being used under another app . I removed the config from there and now all are working fine.&lt;/P&gt;&lt;P&gt;Issued screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_0-1711790925217.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29965iEE69A6D3A474A16C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_0-1711790925217.png" alt="uagraw01_0-1711790925217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Resolved screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_1-1711790993298.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29966i647B9302F4AAA31F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_1-1711790993298.png" alt="uagraw01_1-1711790993298.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks both of your support and suggestions.&lt;/P&gt;</description>
    <pubDate>Sat, 30 Mar 2024 09:32:58 GMT</pubDate>
    <dc:creator>uagraw01</dc:creator>
    <dc:date>2024-03-30T09:32:58Z</dc:date>
    <item>
      <title>Splunk HEC token is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682423#M19009</link>
      <description>&lt;P&gt;As per the below screenshot my server is not giving any health status of hec port 8088. Due to this I am not able to publish anything by using hec token in Splunk for an example :&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;curl -k "Authorization: Splunk ee6d8a90-4863-4789-9ff1-fda810bee6f2" &lt;A href="http://walvau-vidi-1:8000/services/collector/event" target="_blank" rel="noopener"&gt;http://walvau-vidi-1:8000/services/collector/event&lt;/A&gt; -d '{"event": "hello world"}'&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please guide me what will issue, how I investigate further on this.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_0-1711736562730.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29960iB80B38145871C6D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_0-1711736562730.png" alt="uagraw01_0-1711736562730.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;default inputs.conf :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[http]
disabled=1
port=8088
enableSSL=1
dedicatedIoThreads=2
maxThreads = 0
maxSockets = 0
useDeploymentServer=0
# ssl settings are similar to mgmt server
sslVersions=*,-ssl2
allowSslCompression=true
allowSslRenegotiation=true
ackIdleCleanup=true


local inputs.conf:

[http]
disabled = 0
enableSSL = 0&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 29 Mar 2024 20:07:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682423#M19009</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2024-03-29T20:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC token is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682439#M19014</link>
      <description>&lt;P&gt;I would not recommend posting valid authorization tokens on the internet, as unscrupulous people or bots could abuse them.&lt;/P&gt;&lt;P&gt;Could you try curl-ing the collector health endpoint using HTTPS instead of http?&lt;/P&gt;&lt;P&gt;If it still does not give a response, it might be a firewall issue. Try connecting to the machine itself using ssh and then doing a curl on localhost, like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k https://127.0.0.1:8088/services/collector/health&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 21:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682439#M19014</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-03-29T21:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC token is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682449#M19015</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt;&amp;nbsp;For your information I already tried with https before posting this to Splunk answers and for your information on windows server is using telnet instead to SSH.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you please help me to understand the significance why you suggested https ? Because on other server posted command is working fine with “http”&lt;/P&gt;&lt;P&gt;Please provide your more suggestion on this.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 02:45:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682449#M19015</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2024-03-30T02:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC token is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682460#M19016</link>
      <description>&lt;P&gt;Depending on how your server is configured, it may reject http connections. Are you able to connect to the collector health endpoint on 127.0.0.1 by connecting to the server via telnet and sending the request to localhost?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 06:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682460#M19016</guid>
      <dc:creator>marnall</dc:creator>
      <dc:date>2024-03-30T06:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC token is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682461#M19017</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt;&amp;nbsp;I have opened inbound port also 8088 also so I think firewall related issue also not be the concern now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 06:54:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682461#M19017</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2024-03-30T06:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC token is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682467#M19018</link>
      <description>&lt;P&gt;The usual debugging steps apply:&lt;/P&gt;&lt;P&gt;1) Check if the receiving side is listening on the port (use netstat to list open ports and verify if 8088 is among them).&lt;/P&gt;&lt;P&gt;2) Check the network connectivity from the client&lt;/P&gt;&lt;P&gt;3) Verify firewall rules&lt;/P&gt;&lt;P&gt;4) If needed, run tcpdump/wireshark on the server and see if any traffic from the client is reaching the server at all.&lt;/P&gt;&lt;P&gt;When you can connect to your HEC service port you can start debugging the token settings.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 08:11:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682467#M19018</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-03-30T08:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk HEC token is not working</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682477#M19019</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263556"&gt;@marnall&lt;/a&gt;&amp;nbsp;After further investigation I found that the tcp port 8088 is being used under another app . I removed the config from there and now all are working fine.&lt;/P&gt;&lt;P&gt;Issued screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_0-1711790925217.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29965iEE69A6D3A474A16C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_0-1711790925217.png" alt="uagraw01_0-1711790925217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Resolved screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_1-1711790993298.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29966i647B9302F4AAA31F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_1-1711790993298.png" alt="uagraw01_1-1711790993298.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks both of your support and suggestions.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2024 09:32:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-HEC-token-is-not-working/m-p/682477#M19019</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2024-03-30T09:32:58Z</dc:date>
    </item>
  </channel>
</rss>

