<?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: Receiving HTTP 303 When Using Token-Based Authentication with Splunk Cloud REST API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Receiving-HTTP-303-When-Using-Token-Based-Authentication-with/m-p/749904#M119141</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;i have one query, As far as I understand, due to security restrictions, this 8089 port might be blocked or not exposed externally in the Splunk Cloud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jul 2025 15:20:41 GMT</pubDate>
    <dc:creator>thahir</dc:creator>
    <dc:date>2025-07-16T15:20:41Z</dc:date>
    <item>
      <title>Receiving HTTP 303 When Using Token-Based Authentication with Splunk Cloud REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Receiving-HTTP-303-When-Using-Token-Based-Authentication-with/m-p/749891#M119139</link>
      <description>&lt;P&gt;Hi Splunk Gurus,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m working on a script to programmatically check if logs from a specific host are available in Splunk. For this, I’m using token-based authentication. I’ve created a role and a user with the necessary permissions, and generated a token for that user.&lt;/P&gt;&lt;P&gt;However, when I try to run the following curl command against my Splunk Cloud instance:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;curl -k -H "Authorization: Bearer &amp;lt;your_token&amp;gt;" \ https://&amp;lt;your_splunk_instance&amp;gt;.splunkcloud.com:443/services/server/info&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I receive a &lt;STRONG&gt;303 status code&lt;/STRONG&gt;, and I’m not sure what I might be doing wrong. I’ve checked multiple forums but haven’t been able to find a clear solution.&lt;/P&gt;&lt;P&gt;Could you please help me understand what might be causing this and how I can resolve it?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 13:42:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Receiving-HTTP-303-When-Using-Token-Based-Authentication-with/m-p/749891#M119139</guid>
      <dc:creator>asah</dc:creator>
      <dc:date>2025-07-16T13:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving HTTP 303 When Using Token-Based Authentication with Splunk Cloud REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Receiving-HTTP-303-When-Using-Token-Based-Authentication-with/m-p/749893#M119140</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/271418"&gt;@asah&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Change the port in your URL from 443 to 8089, as the Splunk REST&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;API&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;endpoints are served on the management port (8089) rather than the web port (443).&lt;/P&gt;&lt;P&gt;You curl command should look like this:&lt;/P&gt;&lt;PRE&gt;curl -k -H "Authorization: Bearer &amp;lt;your_token&amp;gt;" https://&amp;lt;your_splunk_instance&amp;gt;.splunkcloud.com:8089/services/server/info&lt;/PRE&gt;&lt;P&gt;This assumes your authentication token is valid and has the necessary permissions (e.g., for accessing server info).&lt;/P&gt;&lt;P&gt;A 303 status code typically indicates a redirect, which can occur when hitting the wrong port or endpoint in Splunk Cloud.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 13:53:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Receiving-HTTP-303-When-Using-Token-Based-Authentication-with/m-p/749893#M119140</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-16T13:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving HTTP 303 When Using Token-Based Authentication with Splunk Cloud REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Receiving-HTTP-303-When-Using-Token-Based-Authentication-with/m-p/749904#M119141</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;i have one query, As far as I understand, due to security restrictions, this 8089 port might be blocked or not exposed externally in the Splunk Cloud.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 15:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Receiving-HTTP-303-When-Using-Token-Based-Authentication-with/m-p/749904#M119141</guid>
      <dc:creator>thahir</dc:creator>
      <dc:date>2025-07-16T15:20:41Z</dc:date>
    </item>
  </channel>
</rss>

