<?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: api REST searching on partial job results in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/api-REST-searching-on-partial-job-results/m-p/18885#M2618</link>
    <description>&lt;P&gt;Just a guess, but what is your buckets value?   It defaults to 0 for REST API calls, which makes the search job faster but prevents interactive results.  Try setting it to a higher number (the UI uses 300, if I remember correctly.)&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2010 03:49:51 GMT</pubDate>
    <dc:creator>Lowell</dc:creator>
    <dc:date>2010-07-23T03:49:51Z</dc:date>
    <item>
      <title>api REST searching on partial job results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/api-REST-searching-on-partial-job-results/m-p/18884#M2617</link>
      <description>&lt;P&gt;I am running a pretty basic search such as this   &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;email="someemail@domain.com" OR email="someemail@domain.com"  
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The job takes about 30 seconds to complete, but does not return results until the job is done.
Is there any way to get partial results of the running job with an api call?&lt;/P&gt;

&lt;P&gt;Some call's i've tried that dont return the partial job results so far.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="https://server:8089/services/search/jobs/1279579745.369/results?output_mode=json&amp;amp;preview=1&amp;amp;count=0" target="test_blank"&gt;https://server:8089/services/search/jobs/1279579745.369/results?output_mode=json&amp;amp;preview=1&amp;amp;count=0&lt;/A&gt;

&lt;A href="https://server:8089/services/search/jobs/1279579330.368/results?output_mode=json&amp;amp;count=0" target="test_blank"&gt;https://server:8089/services/search/jobs/1279579330.368/results?output_mode=json&amp;amp;count=0&lt;/A&gt;

&lt;A href="https://server:port#/services/search/jobs/1276629355.47/results_preview" target="test_blank"&gt;https://server:port#/services/search/jobs/1276629355.47/results_preview&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Jul 2010 02:37:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/api-REST-searching-on-partial-job-results/m-p/18884#M2617</guid>
      <dc:creator>Chris_R_</dc:creator>
      <dc:date>2010-07-23T02:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: api REST searching on partial job results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/api-REST-searching-on-partial-job-results/m-p/18885#M2618</link>
      <description>&lt;P&gt;Just a guess, but what is your buckets value?   It defaults to 0 for REST API calls, which makes the search job faster but prevents interactive results.  Try setting it to a higher number (the UI uses 300, if I remember correctly.)&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2010 03:49:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/api-REST-searching-on-partial-job-results/m-p/18885#M2618</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-07-23T03:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: api REST searching on partial job results</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/api-REST-searching-on-partial-job-results/m-p/18886#M2619</link>
      <description>&lt;P&gt;Lowell, thanks i am getting better results with: &lt;/P&gt;

&lt;P&gt;curl -k -u admin:changeme -d "search=search * &amp;amp;preview=1&amp;amp;status_buckets=300" &lt;A href="https://server:port/services/search/jobs"&gt;https://server:port/services/search/jobs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The job seems to stay alive much longer&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2010 02:53:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/api-REST-searching-on-partial-job-results/m-p/18886#M2619</guid>
      <dc:creator>Chris_R_</dc:creator>
      <dc:date>2010-07-28T02:53:16Z</dc:date>
    </item>
  </channel>
</rss>

