<?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 Using Splunk REST to list &amp;quot;saved searches&amp;quot; only returns a limited set of results in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Using-Splunk-REST-to-list-quot-saved-searches-quot-only-returns/m-p/110070#M2526</link>
    <description>&lt;P&gt;The Splunk API appears to be limiting the number of "saved searches" returned.  I am running the query with our admin account so I do not believe it is a permissions issue.  However, I did notice if I adjust a query to GLOBAL it appears to show up in the list. &lt;/P&gt;

&lt;P&gt;Is there not a way to show ALL saved searches? &lt;/P&gt;

&lt;P&gt;Example query:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;curl -k  -u admin:$PASS  "splunk:8089/servicesNS/admin/search/saved/searches?count=100"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;curl -k  -u admin:$PASS  "splunk:8089/services/saved/searches?count=100"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2013 15:19:50 GMT</pubDate>
    <dc:creator>dibblel</dc:creator>
    <dc:date>2013-10-22T15:19:50Z</dc:date>
    <item>
      <title>Using Splunk REST to list "saved searches" only returns a limited set of results</title>
      <link>https://community.splunk.com/t5/Reporting/Using-Splunk-REST-to-list-quot-saved-searches-quot-only-returns/m-p/110070#M2526</link>
      <description>&lt;P&gt;The Splunk API appears to be limiting the number of "saved searches" returned.  I am running the query with our admin account so I do not believe it is a permissions issue.  However, I did notice if I adjust a query to GLOBAL it appears to show up in the list. &lt;/P&gt;

&lt;P&gt;Is there not a way to show ALL saved searches? &lt;/P&gt;

&lt;P&gt;Example query:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;curl -k  -u admin:$PASS  "splunk:8089/servicesNS/admin/search/saved/searches?count=100"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;curl -k  -u admin:$PASS  "splunk:8089/services/saved/searches?count=100"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 15:19:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Using-Splunk-REST-to-list-quot-saved-searches-quot-only-returns/m-p/110070#M2526</guid>
      <dc:creator>dibblel</dc:creator>
      <dc:date>2013-10-22T15:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using Splunk REST to list "saved searches" only returns a limited set of results</title>
      <link>https://community.splunk.com/t5/Reporting/Using-Splunk-REST-to-list-quot-saved-searches-quot-only-returns/m-p/110071#M2527</link>
      <description>&lt;P&gt;I found the answer to my question:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;"splunk:8089/servicesNS/-/-/saved/searches?count=100"&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;I do not know why this is not included in the documentation as it clearly states, "&lt;EM&gt;List all saved searched on this Splunk instance&lt;/EM&gt;" for the below command.  &lt;/P&gt;

&lt;P&gt;curl -k -u admin:pass "&lt;STRONG&gt;localhost:8089/services/saved/searches&lt;/STRONG&gt;"&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 15:52:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Using-Splunk-REST-to-list-quot-saved-searches-quot-only-returns/m-p/110071#M2527</guid>
      <dc:creator>dibblel</dc:creator>
      <dc:date>2013-10-22T15:52:56Z</dc:date>
    </item>
  </channel>
</rss>

