<?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 I cannot reach Splunk Cloud API from a python app in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695462#M11621</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;How are you?&lt;BR /&gt;We are currently working on an integration with Splunk Cloud to be able to retrieve a set of data that we persist in an index and then we search to generate a table.&lt;BR /&gt;For this, we need to use the Splunk Cloud API from another of our developments.&lt;BR /&gt;We generate a new local user on the platform and assign it a new role with 'search' permission on the index we need to query.&lt;BR /&gt;Then, we perform this test call from our computer:&lt;BR /&gt;curl -v -u username:p455w0rd -k https://&amp;lt;organization&amp;gt;.splunkcloud.com:8089/services/search/jobs -d search='index="index_to_query" rule="inventory" | stats count by rawData.Association.asset | sort - count'&lt;BR /&gt;but the response we get is as follows:&lt;BR /&gt;* Trying &amp;lt;IP&amp;gt;:8089....&lt;BR /&gt;* connect to&amp;lt;IP&amp;gt; port 8089 failed: Operation timed out&lt;BR /&gt;* Failed to connect to&amp;lt;organization&amp;gt;.splunkcloud.com port 8089 after 75195 ms: Couldn't connect to server&lt;/P&gt;&lt;P&gt;We investigated in Splunk forums and found that it could be caused by a Splunk Cloud restriction, and that apparently we could solve it by adding the subnets from where we do the consumption in: https://&amp;lt;organization&amp;gt;.splunkcloud.com/en-GB/manager/system/manage_system_config/ip_allow_list&lt;/P&gt;&lt;P&gt;We tried that but we're getting the same error message &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Have you faced this in the past?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;BR /&gt;Regards,&lt;BR /&gt;Juanma&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2024 20:54:00 GMT</pubDate>
    <dc:creator>jalbarracinklar</dc:creator>
    <dc:date>2024-08-06T20:54:00Z</dc:date>
    <item>
      <title>I cannot reach Splunk Cloud API from a python app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695462#M11621</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;How are you?&lt;BR /&gt;We are currently working on an integration with Splunk Cloud to be able to retrieve a set of data that we persist in an index and then we search to generate a table.&lt;BR /&gt;For this, we need to use the Splunk Cloud API from another of our developments.&lt;BR /&gt;We generate a new local user on the platform and assign it a new role with 'search' permission on the index we need to query.&lt;BR /&gt;Then, we perform this test call from our computer:&lt;BR /&gt;curl -v -u username:p455w0rd -k https://&amp;lt;organization&amp;gt;.splunkcloud.com:8089/services/search/jobs -d search='index="index_to_query" rule="inventory" | stats count by rawData.Association.asset | sort - count'&lt;BR /&gt;but the response we get is as follows:&lt;BR /&gt;* Trying &amp;lt;IP&amp;gt;:8089....&lt;BR /&gt;* connect to&amp;lt;IP&amp;gt; port 8089 failed: Operation timed out&lt;BR /&gt;* Failed to connect to&amp;lt;organization&amp;gt;.splunkcloud.com port 8089 after 75195 ms: Couldn't connect to server&lt;/P&gt;&lt;P&gt;We investigated in Splunk forums and found that it could be caused by a Splunk Cloud restriction, and that apparently we could solve it by adding the subnets from where we do the consumption in: https://&amp;lt;organization&amp;gt;.splunkcloud.com/en-GB/manager/system/manage_system_config/ip_allow_list&lt;/P&gt;&lt;P&gt;We tried that but we're getting the same error message &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Have you faced this in the past?&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;BR /&gt;Regards,&lt;BR /&gt;Juanma&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 20:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695462#M11621</guid>
      <dc:creator>jalbarracinklar</dc:creator>
      <dc:date>2024-08-06T20:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot reach Splunk Cloud API from a python app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695475#M11622</link>
      <description>&lt;P&gt;Verify your network allows connections *out* to your Splunk Cloud stack's port 8089.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 00:51:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695475#M11622</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-08-07T00:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot reach Splunk Cloud API from a python app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695505#M11624</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263855"&gt;@jalbarracinklar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;one of my customers had the same issue, they opened a ticet to Splunk Support and quickly solved.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2024 07:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695505#M11624</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-07T07:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot reach Splunk Cloud API from a python app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695869#M11633</link>
      <description>&lt;P&gt;Grazie Giuseppe!&lt;/P&gt;&lt;P&gt;We're gonna try that &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 19:30:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695869#M11633</guid>
      <dc:creator>jalbarracinklar</dc:creator>
      <dc:date>2024-08-09T19:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: I cannot reach Splunk Cloud API from a python app</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695870#M11634</link>
      <description>&lt;P&gt;This is going through Internet and from different places so we don't have a FW blocking our traffic at the moment &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 19:31:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/I-cannot-reach-Splunk-Cloud-API-from-a-python-app/m-p/695870#M11634</guid>
      <dc:creator>jalbarracinklar</dc:creator>
      <dc:date>2024-08-09T19:31:36Z</dc:date>
    </item>
  </channel>
</rss>

