<?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 Running Saved Searches with Default Index _internal in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95873#M24736</link>
    <description>&lt;P&gt;HI, I did search query as follows:&lt;BR /&gt;
  &lt;STRONG&gt;index=_internal  sourcetype=scheduler&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;And I get to see things in the resulting log that certain fields appears such as "&lt;STRONG&gt;run_time&lt;/STRONG&gt;", "&lt;STRONG&gt;dispatch_time&lt;/STRONG&gt;", and &lt;BR /&gt;
"&lt;STRONG&gt;scheduled_time&lt;/STRONG&gt;." &lt;/P&gt;

&lt;P&gt;I want to know every nitty-gritty details in how those certain fields working inside and outside.&lt;BR /&gt;
You could pinpoint where I can find those info or you could explain in your own words fully here. &lt;BR /&gt;
Especially, I would like to understand completely in inner mechanism of "&lt;STRONG&gt;dispatch_time&lt;/STRONG&gt;."&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2013 09:11:11 GMT</pubDate>
    <dc:creator>joy76</dc:creator>
    <dc:date>2013-04-16T09:11:11Z</dc:date>
    <item>
      <title>Running Saved Searches with Default Index _internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95873#M24736</link>
      <description>&lt;P&gt;HI, I did search query as follows:&lt;BR /&gt;
  &lt;STRONG&gt;index=_internal  sourcetype=scheduler&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;And I get to see things in the resulting log that certain fields appears such as "&lt;STRONG&gt;run_time&lt;/STRONG&gt;", "&lt;STRONG&gt;dispatch_time&lt;/STRONG&gt;", and &lt;BR /&gt;
"&lt;STRONG&gt;scheduled_time&lt;/STRONG&gt;." &lt;/P&gt;

&lt;P&gt;I want to know every nitty-gritty details in how those certain fields working inside and outside.&lt;BR /&gt;
You could pinpoint where I can find those info or you could explain in your own words fully here. &lt;BR /&gt;
Especially, I would like to understand completely in inner mechanism of "&lt;STRONG&gt;dispatch_time&lt;/STRONG&gt;."&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 09:11:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95873#M24736</guid>
      <dc:creator>joy76</dc:creator>
      <dc:date>2013-04-16T09:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Running Saved Searches with Default Index _internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95874#M24737</link>
      <description>&lt;P&gt;Here goes;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;scheduled_time&lt;/CODE&gt; = the point in time when a scheduled search was destined to run. Expressed in &lt;CODE&gt;epoch&lt;/CODE&gt; (number of seconds since midnight (00:00:00 AM) Jan 1 1970). This will be a new value for each scheduled run of a particular search.  If you have a search that's scheduled to run every hour, you will see that the difference in the &lt;CODE&gt;scheduled_time&lt;/CODE&gt; in the &lt;CODE&gt;scheduler.log&lt;/CODE&gt; will be 3600 for consecutive occurrences of that search.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;dispatch_time&lt;/CODE&gt; = the actual time the search was started (also in &lt;CODE&gt;epoch&lt;/CODE&gt;). Set in relation to the &lt;CODE&gt;scheduled_time&lt;/CODE&gt; it will indicate if the searches start at the time they are supposed to. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;run_time&lt;/CODE&gt; = how long time it took to execute the search (in seconds)&lt;/P&gt;

&lt;P&gt;A large difference (more than a few seconds) between &lt;CODE&gt;scheduled_time&lt;/CODE&gt; and &lt;CODE&gt;dispatch_time&lt;/CODE&gt; could suggest that you have too many searches scheduled to start at the same time (so some of them are queued up). Or that the system is overloaded with manual searches (or is generally overloaded).&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;UPDATE:&lt;/P&gt;

&lt;P&gt;Note that Splunk may decide to skip a search before the next scheduled run - perhaps if it has not been able to launch the search in 5/15/30 minutes - I just don't know the default timeout settings. However, I'm not sure when Splunk decides to skip a search and move on. Somebody more knowledgeable will have to answer that.&lt;/P&gt;

&lt;P&gt;EDIT: removed some faulty assumptions.&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 14:34:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95874#M24737</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-16T14:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Running Saved Searches with Default Index _internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95875#M24738</link>
      <description>&lt;P&gt;Joy, if this Answer solved your problem, please accept Kristian's Answer by clicking the checkbox. thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 00:38:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95875#M24738</guid>
      <dc:creator>piebob</dc:creator>
      <dc:date>2013-04-17T00:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Running Saved Searches with Default Index _internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95876#M24739</link>
      <description>&lt;P&gt;Some more info in the answer.  /K&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 05:03:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95876#M24739</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-17T05:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Running Saved Searches with Default Index _internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95877#M24740</link>
      <description>&lt;P&gt;I mean that I updated my original answer, just scroll up this page a little bit  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2013 07:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95877#M24740</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-21T07:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Running Saved Searches with Default Index _internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95878#M24741</link>
      <description>&lt;P&gt;update above, in the original answer.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2013 19:37:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95878#M24741</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-22T19:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Running Saved Searches with Default Index _internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95879#M24742</link>
      <description>&lt;P&gt;Kristian, regarding setting "dispatch_time" in relation with "scheduled_time".., when scheduled searches (e.g. S0~S24) are scheduled to be run at the same time, some of them are queued up. &lt;BR /&gt;
So, some scheduled searches(e.g. S20~S24) which have not been dispatched on their scheduled times will go into QUEUE list, waiting. Then, how will I check to see if how many number of searches are currently being queued up in the list and in what order are they queued up in the list OR which saved search(es) are they in the list ??&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95879#M24742</guid>
      <dc:creator>joy76</dc:creator>
      <dc:date>2020-09-28T13:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Running Saved Searches with Default Index _internal</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95880#M24743</link>
      <description>&lt;P&gt;Hi, joy76, I seem to have made some assumptions regarding this, that did not turn out right. It seems like searches are not skipped when the next scheduled run is due. Sorry.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2013 05:41:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Running-Saved-Searches-with-Default-Index-internal/m-p/95880#M24743</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-24T05:41:07Z</dc:date>
    </item>
  </channel>
</rss>

