<?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 Splunk REST API query (possible issue with URL encoding) in Other Usage</title>
    <link>https://community.splunk.com/t5/Other-Usage/Splunk-REST-API-query-possible-issue-with-URL-encoding/m-p/638973#M136</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I`m learning about the Splunk REST API and I`m experiencing some temperamental behaviour, for example I can fetch results using the query listed below from some reports, but it fails for others, example below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -H "Authorization: Splunk myValidToken" https://myValidDomainName.splunkcloud.com:8089/services/saved/searches/%5BLOOKUP%5D%20Active%20Directory%20Devices%20No2/acl&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="ERROR"&amp;gt;Could not find object id=[LOOKUP] Active Directory Devices No2&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The report name is correct.&lt;/P&gt;&lt;P&gt;Have you got any suggestions for me ?&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Toma&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 08:28:39 GMT</pubDate>
    <dc:creator>tomapatan</dc:creator>
    <dc:date>2023-04-06T08:28:39Z</dc:date>
    <item>
      <title>Splunk REST API query (possible issue with URL encoding)</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-REST-API-query-possible-issue-with-URL-encoding/m-p/638973#M136</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I`m learning about the Splunk REST API and I`m experiencing some temperamental behaviour, for example I can fetch results using the query listed below from some reports, but it fails for others, example below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -k -H "Authorization: Splunk myValidToken" https://myValidDomainName.splunkcloud.com:8089/services/saved/searches/%5BLOOKUP%5D%20Active%20Directory%20Devices%20No2/acl&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="ERROR"&amp;gt;Could not find object id=[LOOKUP] Active Directory Devices No2&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The report name is correct.&lt;/P&gt;&lt;P&gt;Have you got any suggestions for me ?&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Toma&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 08:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-REST-API-query-possible-issue-with-URL-encoding/m-p/638973#M136</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2023-04-06T08:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk REST API query (possible issue with URL encoding)</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-REST-API-query-possible-issue-with-URL-encoding/m-p/639107#M137</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This occurs when the object you're referencing is not visible in the user's default context. You can reference the user/app context directly with:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://myValidDomainName.splunkcloud.com:8089/servicesNS/&amp;lt;user&amp;gt;/&amp;lt;app&amp;gt;/saved/searches/%5BLOOKUP%5D%20Active%20Directory%20Devices%20No2/acl&lt;/LI-CODE&gt;&lt;P&gt;where &amp;lt;user&amp;gt; and &amp;lt;app&amp;gt; are the user name and app name, respectively. If you have read access to the object but don't know the owner or app, you can use hyphens as wildcards:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://myValidDomainName.splunkcloud.com:8089/servicesNS/-/-/saved/searches/%5BLOOKUP%5D%20Active%20Directory%20Devices%20No2/acl&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 22:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-REST-API-query-possible-issue-with-URL-encoding/m-p/639107#M137</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2023-04-06T22:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk REST API query (possible issue with URL encoding)</title>
      <link>https://community.splunk.com/t5/Other-Usage/Splunk-REST-API-query-possible-issue-with-URL-encoding/m-p/639463#M138</link>
      <description>&lt;P&gt;Worked like a charm, much appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 07:49:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Other-Usage/Splunk-REST-API-query-possible-issue-with-URL-encoding/m-p/639463#M138</guid>
      <dc:creator>tomapatan</dc:creator>
      <dc:date>2023-04-11T07:49:19Z</dc:date>
    </item>
  </channel>
</rss>

