<?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: How recent is recent? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9644#M18</link>
    <description>&lt;P&gt;Nope.  It is using the default 2p.  &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 06 Feb 2010 05:22:25 GMT</pubDate>
    <dc:creator>hulahoop</dc:creator>
    <dc:date>2010-02-06T05:22:25Z</dc:date>
    <item>
      <title>How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9636#M10</link>
      <description>&lt;P&gt;On the page 'Manager &amp;gt; Searches and reports,' enabled scheduled searches have a 'View Recent' link.  I have 2 scheduled searches running every 5 minutes over the last 5 minutes.  Sometimes the 'View Recent' link shows 1 result, sometimes 0 results.  I am not seeing anything in splunkd.log to suggest there was a problem executing the search.  So I have 2 questions:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;How recent is recent?&lt;/LI&gt;
&lt;LI&gt;Where can I find the full history of a scheduled search's execution status (in past versions of Splunk, there was once a link to 'View History')?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 05 Feb 2010 04:26:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9636#M10</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-05T04:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9637#M11</link>
      <description>&lt;P&gt;I will try to answer part 2 of my 2-part question--where to find the full history of a search's execution?&lt;/P&gt;

&lt;P&gt;To find the full history, check in the &lt;CODE&gt;_audit&lt;/CODE&gt; index.  Scheduled searches are first granted permission to run, then on completion an audit event is recorded.  For each scheduled search executed, these 2 events are written to &lt;CODE&gt;index=_audit&lt;/CODE&gt; along with a &lt;CODE&gt;search_id&lt;/CODE&gt; which includes the name of the search.&lt;/P&gt;

&lt;P&gt;For example, to get the history of my scheduled search named "Summary - Juniper - Critical NIDS Count" belonging to the App called 'SplunkForJuniperNSM', run the following search:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;index="_audit" search_id="scheduler_nobody_SplunkForJuniperNSM_Summary___Juniper___Critical_NIDS_Count*"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This will return 2 events for each execution time:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;PRE&gt;&lt;CODE&gt;Audit:[timestamp=02-04-2010 12:50:11.297, user=n/a, action=search, info=completed, search_id="scheduler_nobody_SplunkForJuniperNSMAtUnionBank_Summary___Juniper___Critical_NIDS_Count_at_1265316600_1609417292", total_run_time=0.22 seconds.][n/a]
Audit:[timestamp=02-04-2010 12:50:01.029, user=splunk-system-user, action=search, info=granted , search_id="scheduler_nobody_SplunkForJuniperNSMAtUnionBank_Summary___Juniper___Critical_NIDS_Count_at_1265316600_1609417292", search='search  sourcetype=juniper-nsm-ids Severity=high | sistats count', autojoin=1, buckets=0, ttl=600, max_count=10000, maxtime=0, enable_lookups=1, extra_fields="", apiStartTime="Thu Feb  4 12:45:00 2010", apiEndTime="Thu Feb  4 12:50:00 2010"][n/a]
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Maybe there is an easier way to find this info in the Manager, but I haven't uncovered it.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 04:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9637#M11</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-05T04:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9638#M12</link>
      <description>&lt;P&gt;The view recent link launches the jobs manager for that search (by adding a savedSearch= parameter.  The jobs manager shows all of the searches that are still cached on disk.  Jobs are kept on disk by default for 2 periods, a period being the length of time between runs.  So for most scheduled searches you will see 2 results in the jobs manager.  This setting is dispatch.ttl in savedsearches.conf, but it is not exposed through the ui due to the potential of quickly filling up disk space if this setting is abused.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 06:35:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9638#M12</guid>
      <dc:creator>benstraw</dc:creator>
      <dc:date>2010-02-05T06:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9639#M13</link>
      <description>&lt;P&gt;Thank you, Ben.  So if my scheduled search runs every 5 minutes over the last 5 minutes, does that mean the period is 5 minutes?&lt;/P&gt;

&lt;P&gt;If the answer is yes, then this is not what we are seeing.  The job in "View recent" disappears in less than 1 period.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 09:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9639#M13</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-05T09:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9640#M14</link>
      <description>&lt;P&gt;Maybe this is because my scheduled search does not actually create any artifacts.  The result count is always 0 with no action triggered.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2010 09:58:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9640#M14</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-05T09:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9641#M15</link>
      <description>&lt;P&gt;Is your search set to 1p in dispatch.ttl?  You can see this setting in savedsearches.conf or by going to the REST endpoint &lt;SPLUNK_MANAGEMENT_URL&gt;/services/saved/searches.  If the results count is 0 there should still be an artifact and it should still show up in the jobs manager.  Perhaps there is something with the scheduler that causes an artifact to not be saved if there is no results, I am not sure.&lt;/SPLUNK_MANAGEMENT_URL&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2010 04:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9641#M15</guid>
      <dc:creator>benstraw</dc:creator>
      <dc:date>2010-02-06T04:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9642#M16</link>
      <description>&lt;P&gt;In the 4.1 release there is a dashboard that can be used  to inspect the state/status of the scheduler and scheduled search history. The view that can be used to check the scheduled search execution can be found in the search app &amp;gt; Status &amp;gt; Scheduler Activity &amp;gt; By Savedsearch &lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2010 04:17:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9642#M16</guid>
      <dc:creator>Ledion_Bitincka</dc:creator>
      <dc:date>2010-02-06T04:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9643#M17</link>
      <description>&lt;P&gt;Ledion, this is awesome.  I found the dashboard.  It is exactly what I am looking for.  Thank you!&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2010 05:07:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9643#M17</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-06T05:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9644#M18</link>
      <description>&lt;P&gt;Nope.  It is using the default 2p.  &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2010 05:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9644#M18</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-06T05:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How recent is recent?</title>
      <link>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9645#M19</link>
      <description>&lt;P&gt;Although it doesn't solve the confusion of what happens with the 'View recent' link.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2010 05:23:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-recent-is-recent/m-p/9645#M19</guid>
      <dc:creator>hulahoop</dc:creator>
      <dc:date>2010-02-06T05:23:04Z</dc:date>
    </item>
  </channel>
</rss>

