<?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: Setting up the ACS API for accessing the Splunk Cloud REST API in Splunk Cloud Platform</title>
    <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638460#M2137</link>
    <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I`ve managed to create the token using a native user account and I can successfully query the Admin Config Services API, but I`m having issues getting data from the REST API, receiving a timed out message.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl https://[myValidStackName].splunkcloud.com:8089/services/saved/searches/&lt;/LI-CODE&gt;&lt;P&gt;Am I using the correct endpoint ?&lt;/P&gt;&lt;P&gt;Also, can the REST API&amp;nbsp; be queried using the token, or do I&amp;nbsp; have to provide credentials ?&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Apr 2023 20:50:06 GMT</pubDate>
    <dc:creator>tomapatan</dc:creator>
    <dc:date>2023-04-03T20:50:06Z</dc:date>
    <item>
      <title>Setting up the ACS API for accessing the Splunk Cloud REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638370#M2133</link>
      <description>&lt;P&gt;I`m trying to query Splunk Cloud using the REST API so that I can export some data externally, however I`m not entirely sure how to download/install/configure the ACS Open API 3.0 specification. The Splunk &lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/9.0.2209/Config/ACSusage#Set_up_the_ACS_API" target="_self"&gt;documentation&lt;/A&gt; is a bit ambiguous.&lt;/P&gt;
&lt;P&gt;I`m also unable to setup a new authentication token, receiving the error below. I`m using an admin account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;curl -u username:password -X POST https://admin.splunk.com/[myValidStackName]/adminconfig/v2/tokens&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;{"code":"401-unauthorized","message":"{\"messages\":[{\"type\":\"ERROR\",\"text\":\"Unauthorized\"}]}. Please refer https://docs.splunk.com/Documentation/SplunkCloud/latest/Config/ACSerrormessages for general troubleshooting tips."}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 16:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638370#M2133</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2023-04-04T16:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up the ACS API for accessing the Splunk Cloud REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638384#M2135</link>
      <description>&lt;P&gt;As the name implies, Admin Config Service (ACS) is for making administrative configuration changes to a Splunk Cloud stack.&amp;nbsp; It does not provide a means for exporting data.&lt;/P&gt;&lt;P&gt;The 401 error means the credentials supplied with the ACS request are incorrect.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 13:51:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638384#M2135</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-03T13:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up the ACS API for accessing the Splunk Cloud REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638460#M2137</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I`ve managed to create the token using a native user account and I can successfully query the Admin Config Services API, but I`m having issues getting data from the REST API, receiving a timed out message.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl https://[myValidStackName].splunkcloud.com:8089/services/saved/searches/&lt;/LI-CODE&gt;&lt;P&gt;Am I using the correct endpoint ?&lt;/P&gt;&lt;P&gt;Also, can the REST API&amp;nbsp; be queried using the token, or do I&amp;nbsp; have to provide credentials ?&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 20:50:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638460#M2137</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2023-04-03T20:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up the ACS API for accessing the Splunk Cloud REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638463#M2139</link>
      <description>&lt;P&gt;Use the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;search/v2/jobs/export&lt;/FONT&gt; endpoint to fetch results.&lt;/P&gt;&lt;P&gt;Yes, you should be able to use tokens to authenticate a REST API call.&amp;nbsp; See&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/RESTUM/RESTusing#Authentication_and_authorization" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/RESTUM/RESTusing#Authentication_and_authorization&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 21:13:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/638463#M2139</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-04-03T21:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up the ACS API for accessing the Splunk Cloud REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/706239#M3421</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249836"&gt;@tomapatan&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to call Splunk Cloud REST API endpoints from java service to get back the results of a search query.&lt;/P&gt;&lt;P&gt;Could you please provide the curl to create authentication token and any one REST API endpoint using that token to get data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2024 16:31:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/706239#M3421</guid>
      <dc:creator>rishav-ukg</dc:creator>
      <dc:date>2024-12-07T16:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up the ACS API for accessing the Splunk Cloud REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/706241#M3423</link>
      <description>&lt;P&gt;This thread is resolved.&amp;nbsp; For betters chances of a reply, please post a new question.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2024 22:41:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Cloud-Platform/Setting-up-the-ACS-API-for-accessing-the-Splunk-Cloud-REST-API/m-p/706241#M3423</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-12-07T22:41:25Z</dc:date>
    </item>
  </channel>
</rss>

