<?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: How to Get Saved Searches by Owner Through REST API? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524236#M9388</link>
    <description>&lt;P&gt;Try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl-k -u john:Password http://localhost:8089/servicesNS/john/app/saved/searches&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 12 Oct 2020 14:40:35 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-10-12T14:40:35Z</dc:date>
    <item>
      <title>How to Get Saved Searches by Owner Through REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524232#M9387</link>
      <description>&lt;P&gt;I see the EAI:ACL documentation mentions that an owner flag can be set. can this be used for getting saved searches based on the owner?&lt;BR /&gt;so far with curl I have not gotten the results as excepted (the owner is ignored)&lt;/P&gt;&lt;P&gt;If someone knows can you please give me an example?&lt;/P&gt;&lt;P&gt;here is my curl:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;curl-k -u john:Password http://localhost:8089/servicesNS/-/app/saved/searches&amp;amp;eai:acl.owner=john&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 14:09:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524232#M9387</guid>
      <dc:creator>koocies</dc:creator>
      <dc:date>2020-10-12T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Saved Searches by Owner Through REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524236#M9388</link>
      <description>&lt;P&gt;Try&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl-k -u john:Password http://localhost:8089/servicesNS/john/app/saved/searches&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 12 Oct 2020 14:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524236#M9388</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-12T14:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Saved Searches by Owner Through REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524240#M9390</link>
      <description>&lt;P&gt;this returns saved search owned by nobody and the user. It does not seem to filter to the user alone&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 14:56:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524240#M9390</guid>
      <dc:creator>koocies</dc:creator>
      <dc:date>2020-10-12T14:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to Get Saved Searches by Owner Through REST API?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524261#M9391</link>
      <description>&lt;P&gt;Solution is to use the search parameter in the HTTP request:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl-k -u john:Password http://localhost:8089/servicesNS/-/app/saved/searches?search=eai:acl.owner%3Djohn&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I honestly don't understand why the username endpoint is used. a '-' for any then using search parameter to narrow down to the owner of saved searches works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 17:41:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-Get-Saved-Searches-by-Owner-Through-REST-API/m-p/524261#M9391</guid>
      <dc:creator>koocies</dc:creator>
      <dc:date>2020-10-12T17:41:12Z</dc:date>
    </item>
  </channel>
</rss>

