<?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 Why is the Rest API for getting saved searches giving different number of results? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345704#M5403</link>
    <description>&lt;P&gt;When trying to access saved-searches from python request, not giving actual no of saved searches, many saved searches are missing.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest servicesNS/-/-/saved/searches
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;While accessing the above command from a search bar giving the correct result.&lt;/P&gt;

&lt;P&gt;Why are some saved searches not showing while accessing through python requests module? ( I'm accessing with same URL and same user.)&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 11:50:35 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2018-03-12T11:50:35Z</dc:date>
    <item>
      <title>Why is the Rest API for getting saved searches giving different number of results?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345704#M5403</link>
      <description>&lt;P&gt;When trying to access saved-searches from python request, not giving actual no of saved searches, many saved searches are missing.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest servicesNS/-/-/saved/searches
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;While accessing the above command from a search bar giving the correct result.&lt;/P&gt;

&lt;P&gt;Why are some saved searches not showing while accessing through python requests module? ( I'm accessing with same URL and same user.)&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 11:50:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345704#M5403</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2018-03-12T11:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Rest API for getting saved searches giving different number of results?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345705#M5404</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Can you try something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest servicesNS/-/-/saved/searches splunk_server=local
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also refer this docs:&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/python-sdk/SP-CAAAEK2"&gt;http://dev.splunk.com/view/python-sdk/SP-CAAAEK2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 12:48:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345705#M5404</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-12T12:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Rest API for getting saved searches giving different number of results?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345706#M5405</link>
      <description>&lt;P&gt;I also tried this, but when I try it with search it is giving 138 result, but when I try with python I'm getting 30 result. (138 looks correct).&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 04:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345706#M5405</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2018-03-13T04:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why is the Rest API for getting saved searches giving different number of results?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345707#M5406</link>
      <description>&lt;P&gt;Also look through this answer:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/25431/inconsistency-between-splunk-api-vs-gui-search-results.html"&gt;https://answers.splunk.com/answers/25431/inconsistency-between-splunk-api-vs-gui-search-results.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 04:45:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Why-is-the-Rest-API-for-getting-saved-searches-giving-different/m-p/345707#M5406</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-13T04:45:13Z</dc:date>
    </item>
  </channel>
</rss>

