<?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 to display the last results from a scheduled saved search on a dashboard, not the job currently running? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241994#M15035</link>
    <description>&lt;P&gt;The docs linked say that &lt;CODE&gt;artifact_offset&lt;/CODE&gt; defaults to 0, which says to me that this shouldn't change any behaviour. Is this a change in behaviour between this post and now, or is the documentation would and the default state differs to an explicit &lt;CODE&gt;artifact_offset=0&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 02:54:43 GMT</pubDate>
    <dc:creator>jlr</dc:creator>
    <dc:date>2019-03-22T02:54:43Z</dc:date>
    <item>
      <title>How to display the last results from a scheduled saved search on a dashboard, not the job currently running?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241989#M15030</link>
      <description>&lt;P&gt;I want to have a dashboard show the results of a saved search. My saved search is scheduled every hour and can easily take more than 30 minutes to run.&lt;/P&gt;

&lt;P&gt;I would like a user viewing the dashboard to see the last completed saved search. If a saved search is running when they view the dashboard I don't want them to see the partial job that is currently running. I want them to see the last completed job.&lt;/P&gt;

&lt;P&gt;Is this possible? &lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 18:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241989#M15030</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2016-06-30T18:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the last results from a scheduled saved search on a dashboard, not the job currently running?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241990#M15031</link>
      <description>&lt;P&gt;When a dashboard is built on a scheduled search (as in your case), the dashboard will display the most recent search results rather than partial results from a running job.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2016 19:18:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241990#M15031</guid>
      <dc:creator>llee_splunk</dc:creator>
      <dc:date>2016-06-30T19:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the last results from a scheduled saved search on a dashboard, not the job currently running?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241991#M15032</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| loadjob savedsearch="MyUser:MyApp:MySavedSearch" artifact_offset=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 13:33:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241991#M15032</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-07-01T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the last results from a scheduled saved search on a dashboard, not the job currently running?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241992#M15033</link>
      <description>&lt;P&gt;Aha! Yes this is the correct answer. This is the solution I have been searching for.  You need to do the loadjob otherwise when the next job runs your dashboard would only show partial results of the current job. When you have long running jobs you notice this.&lt;/P&gt;

&lt;P&gt;Note: the documentation has a typo that I have just reported to Splunk. The parameter is artifact_offset=0. (On the web page there is both artifact-offset AND artifact_offset. The underscore parameter seems correct.)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:07:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241992#M15033</guid>
      <dc:creator>burwell</dc:creator>
      <dc:date>2020-09-29T10:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the last results from a scheduled saved search on a dashboard, not the job currently running?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241993#M15034</link>
      <description>&lt;P&gt;If your search is looking strictly for events be sure to add &lt;CODE&gt;events=true&lt;/CODE&gt; to the end. It defaults to &lt;CODE&gt;false&lt;/CODE&gt;. Noticed that my search was completing within Activity-&amp;gt;Jobs but was returning no events to my dashboard compared to if I ran the search on its own outside the dashboard.  Using &lt;CODE&gt;events=true&lt;/CODE&gt; fixes that issue.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| loadjob savedsearch="MyUser:MyApp:MySavedSearch" artifact_offset=0 events=true
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Feb 2018 18:56:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241993#M15034</guid>
      <dc:creator>jbrinkman</dc:creator>
      <dc:date>2018-02-09T18:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to display the last results from a scheduled saved search on a dashboard, not the job currently running?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241994#M15035</link>
      <description>&lt;P&gt;The docs linked say that &lt;CODE&gt;artifact_offset&lt;/CODE&gt; defaults to 0, which says to me that this shouldn't change any behaviour. Is this a change in behaviour between this post and now, or is the documentation would and the default state differs to an explicit &lt;CODE&gt;artifact_offset=0&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 02:54:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-the-last-results-from-a-scheduled-saved-search-on/m-p/241994#M15035</guid>
      <dc:creator>jlr</dc:creator>
      <dc:date>2019-03-22T02:54:43Z</dc:date>
    </item>
  </channel>
</rss>

