<?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: Is it possible to get an estimated job completion time for a search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-get-an-estimated-job-completion-time-for-a/m-p/117280#M31225</link>
    <description>&lt;P&gt;You could &lt;CODE&gt;GET /services/search/jobs/job_id&lt;/CODE&gt; to look at the &lt;CODE&gt;doneProgress&lt;/CODE&gt; and &lt;CODE&gt;runDuration&lt;/CODE&gt; fields. Dividing duration so far by progress so far should give you an estimate for the total duration.&lt;BR /&gt;
This will be terribly inaccurate over all time because the progress can't know when the data will stop into the past. It'll also be inaccurate if your data is distributed unevenly across the time range. Lastly, this will not be able to factor in finalization time occurring once &lt;CODE&gt;runDuration&lt;/CODE&gt; reaches &lt;CODE&gt;1.0&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/RESTREF/RESTsearch#search.2Fjobs.2F.7Bsearch_id.7D"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.4/RESTREF/RESTsearch#search.2Fjobs.2F.7Bsearch_id.7D&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 12 Jul 2015 15:26:28 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2015-07-12T15:26:28Z</dc:date>
    <item>
      <title>Is it possible to get an estimated job completion time for a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-get-an-estimated-job-completion-time-for-a/m-p/117279#M31224</link>
      <description>&lt;P&gt;Search job Inspector:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;This search has completed and has returned 31232 results by scanning 434213123 events in 47.204 seconds.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is it possible to estimate a search completion time prior it returns the complete results ? OR possibly an extra column in "Activity -&amp;gt; Jobs" view&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Use case:&lt;/STRONG&gt;&lt;BR /&gt;
Using the REST API, I get search results and displaying them in a customized UI. If I show the user a field called "Estimated Job Completion Time ", the user can wait until the search gets completed or can reduce the time range to get limited results.&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2015 14:28:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-get-an-estimated-job-completion-time-for-a/m-p/117279#M31224</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2015-07-12T14:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get an estimated job completion time for a search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-get-an-estimated-job-completion-time-for-a/m-p/117280#M31225</link>
      <description>&lt;P&gt;You could &lt;CODE&gt;GET /services/search/jobs/job_id&lt;/CODE&gt; to look at the &lt;CODE&gt;doneProgress&lt;/CODE&gt; and &lt;CODE&gt;runDuration&lt;/CODE&gt; fields. Dividing duration so far by progress so far should give you an estimate for the total duration.&lt;BR /&gt;
This will be terribly inaccurate over all time because the progress can't know when the data will stop into the past. It'll also be inaccurate if your data is distributed unevenly across the time range. Lastly, this will not be able to factor in finalization time occurring once &lt;CODE&gt;runDuration&lt;/CODE&gt; reaches &lt;CODE&gt;1.0&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/RESTREF/RESTsearch#search.2Fjobs.2F.7Bsearch_id.7D"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.4/RESTREF/RESTsearch#search.2Fjobs.2F.7Bsearch_id.7D&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 12 Jul 2015 15:26:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-get-an-estimated-job-completion-time-for-a/m-p/117280#M31225</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-12T15:26:28Z</dc:date>
    </item>
  </channel>
</rss>

