<?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 Using saved search results on a dashboard not working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27655#M5389</link>
    <description>&lt;P&gt;I've got a saved search configured on a schedule and if I click on "view recent"  I can see recent runs and if I click on a run I can see the report output.  Now when I try to add this saved search to a dashboard, it's still trying running the search as if there were no saved results available.  Where should I start troubleshooting?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2011 20:25:55 GMT</pubDate>
    <dc:creator>jstockamp</dc:creator>
    <dc:date>2011-06-14T20:25:55Z</dc:date>
    <item>
      <title>Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27655#M5389</link>
      <description>&lt;P&gt;I've got a saved search configured on a schedule and if I click on "view recent"  I can see recent runs and if I click on a run I can see the report output.  Now when I try to add this saved search to a dashboard, it's still trying running the search as if there were no saved results available.  Where should I start troubleshooting?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2011 20:25:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27655#M5389</guid>
      <dc:creator>jstockamp</dc:creator>
      <dc:date>2011-06-14T20:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27656#M5390</link>
      <description>&lt;P&gt;Can you post an extract of your code? It will help for troubleshooting. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2011 10:54:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27656#M5390</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2011-06-15T10:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27657#M5391</link>
      <description>&lt;P&gt;No one has any ideas where to start troubleshooting?  Haven't heard anything back on my open support case either.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2011 22:15:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27657#M5391</guid>
      <dc:creator>jstockamp</dc:creator>
      <dc:date>2011-06-16T22:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27658#M5392</link>
      <description>&lt;P&gt;A good place to start troubleshooting is by reviewing the xml code for your dashboard that has this saved search added to it. Post up an extract of this code. Also, what are the configured settings for when this saved search is scheduled to run?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2011 08:38:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27658#M5392</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2011-06-17T08:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27659#M5393</link>
      <description>&lt;P&gt;Here's the Simple XML:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;
&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Yesterday - Overview&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;searchName&amp;gt;rpt_All_Yesterday_Bandwidth_by_Product&amp;lt;/searchName&amp;gt;
      &amp;lt;title&amp;gt;Bandwidth by Product&amp;lt;/title&amp;gt;
         &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;chart&amp;gt;
      &amp;lt;searchName&amp;gt;rpt_All_Yesterday_Hits_by_Product&amp;lt;/searchName&amp;gt;
      &amp;lt;title&amp;gt;Hits by Product&amp;lt;/title&amp;gt;
    &amp;lt;/chart&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And here's the configuration from /opt/splunk/etc/apps/$MY_APP/local/savedsearches.conf&lt;/P&gt;

&lt;PRE&gt;
[rpt_All_Yesterday_Hits_by_Product]
action.email.inline = 1
alert.suppress = 0
alert.track = 0
cron_schedule = 0 1 * * *
dispatch.earliest_time = -1d@d
dispatch.latest_time = @d
displayview = report_builder_display
enableSched = 1
realtime_schedule = 0
request.ui_dispatch_view = report_builder_display
search = eventtype="evt_all"| timechart count(linecount) as Hits by product
vsid = *:goolxglv

[rpt_All_Yesterday_Bandwidth_by_Product]
action.email.inline = 1
alert.suppress = 0
alert.track = 1
cron_schedule = 0 1 * * *
dispatch.earliest_time = -1d@d
dispatch.latest_time = @d
enableSched = 1
search = eventtype="evt_all"| eval MB=coalesce(sc_bytes,bytes)/1024/1024 | timec
hart sum(MB) as TotalMB by product
vsid = *:xa3buy0h
disabled = 0
&lt;/PRE&gt;

&lt;P&gt;Let me know if you need anything else.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2011 16:17:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27659#M5393</guid>
      <dc:creator>jstockamp</dc:creator>
      <dc:date>2011-06-17T16:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27660#M5394</link>
      <description>&lt;P&gt;From what I can see, there doesn't seem to be anything wrong with your code. when I first read your description, I thought that your dashboard was not loading results at all. Generally, if you reference a saved search in a dashboard as you have done above, it will attempt to run the saved search so there will be some loading time. However, it is generally faster to load a scheduled saved search than to run a search from scratch (using the searchString tags)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2011 08:42:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27660#M5394</guid>
      <dc:creator>Ant1D</dc:creator>
      <dc:date>2011-06-21T08:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27661#M5395</link>
      <description>&lt;P&gt;I was having the same problem and I think I might have found the solution: Remove &lt;CODE&gt;"request.ui_dispatch_view = report_builder_display"&lt;/CODE&gt; and see if that makes it work (I think you'll have to restart too).&lt;/P&gt;

&lt;P&gt;This seems to work best when you're interactively creating the report (if you are) if you schedule the search then. Saving the report and search but not scheduling the search and then going into "Saved Searches" and scheduling seems to not work. (I am not sure what happens if the saved search already exists and is scheduled.)&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2011 22:15:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27661#M5395</guid>
      <dc:creator>Wilcooley</dc:creator>
      <dc:date>2011-07-26T22:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27662#M5396</link>
      <description>&lt;P&gt;Also facing this issue. Currently on Splunk version 6.0.5&lt;/P&gt;

&lt;P&gt;Some panels are pulling the search results of scheduled searches, while some are not.&lt;BR /&gt;
From the configs below, the panel for Dashboard1 is acting as if it is an inline search.&lt;BR /&gt;
Dashboard2 panel is working as expected.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt; 
&amp;lt;label&amp;gt;Testing Dashboard&amp;lt;/label&amp;gt;
&amp;lt;description/&amp;gt;
&amp;lt;row&amp;gt;
&amp;lt;chart&amp;gt;
&amp;lt;title&amp;gt;Dashboard1&amp;lt;/title&amp;gt;
&amp;lt;searchName&amp;gt;dashboard_search1&amp;lt;/searchName&amp;gt;
&amp;lt;option name="charting.chart.showLabels"&amp;gt;false&amp;lt;/option&amp;gt;
&amp;lt;option name="height"&amp;gt;100px&amp;lt;/option&amp;gt;
&amp;lt;drilldown target="_blank"&amp;gt;
&amp;lt;link&amp;gt;
&amp;lt;![CDATA[/app/search/dashboard1]]&amp;gt;
&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.fieldColors"&amp;gt;{"NOT Reporting": 0xFF0000, "Reporting": 0x84E900}&amp;lt;/option&amp;gt;
&amp;lt;/chart&amp;gt;

&amp;lt;chart&amp;gt;
&amp;lt;title&amp;gt;Dashboard2&amp;lt;/title&amp;gt;
&amp;lt;searchName&amp;gt;dashboard_search2&amp;lt;/searchName&amp;gt;
&amp;lt;option name="charting.chart.showLabels"&amp;gt;false&amp;lt;/option&amp;gt;
&amp;lt;option name="height"&amp;gt;100px&amp;lt;/option&amp;gt;
&amp;lt;drilldown target="_blank"&amp;gt;
&amp;lt;link&amp;gt;
&amp;lt;![CDATA[/app/search/dashboard2]]&amp;gt;
&amp;lt;/link&amp;gt;
&amp;lt;/drilldown&amp;gt;
&amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart"&amp;gt;pie&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
&amp;lt;option name="charting.fieldColors"&amp;gt;{"NOT Reporting": 0xFF0000, "Reporting": 0x84E900}&amp;lt;/option&amp;gt;
&amp;lt;/chart&amp;gt;
&amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The saved searches dot conf of the search is below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[dashboard_search1]
action.email.inline = 1
action.email.sendresults = 1
action.email.to = my_email@domain.com
alert.digest_mode = True
alert.expires = 2h
alert.suppress = 0
alert.track = 0
auto_summarize.dispatch.earliest_time = -1d@h
counttype = number of events
cron_schedule = 1 * * * *
dispatch.earliest_time = -48h
dispatch.latest_time = now
display.general.timeRangePicker.show = 0
display.general.type = visualizations
display.visualizations.charting.chart = pie
enableSched = 1
quantity = 0
relation = greater than
request.ui_dispatch_view = search
search = index=_internal sourcetype=splunkd | chart max(field_a) as "NOT Reporting" max(field_b) as "Reporting"

[dashboard_search2]
action.email.inline = 1
alert.digest_mode = True
alert.expires = 2h
alert.suppress = 0
alert.track = 0
auto_summarize.dispatch.earliest_time = -1d@h
cron_schedule = 0 * * * *
dispatch.earliest_time = -48h@h
dispatch.latest_time = now
display.general.type = visualizations
display.visualizations.charting.chart = pie
enableSched = 1
search = index=_internal sourcetype=splunkd | chart max(field_x) as "NOT Reporting" max(field_y) as "Reporting"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Mar 2015 18:05:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27662#M5396</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2015-03-13T18:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27663#M5397</link>
      <description>&lt;P&gt;Raised support ticket Case 225591 BUG: Using saved search results on a dashboard not working&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 19:02:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27663#M5397</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2015-03-13T19:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27664#M5398</link>
      <description>&lt;P&gt;Any news on this?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2015 21:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27664#M5398</guid>
      <dc:creator>goelli</dc:creator>
      <dc:date>2015-04-19T21:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using saved search results on a dashboard not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27665#M5399</link>
      <description>&lt;P&gt;This issue turns out to be related to a known bug (SPL-81969: Schedule saved pivot jobs are not retained, and not accessible via the history endpoint).  The bug has been fixed in splunk 6.1 or later versions.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 15:51:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-saved-search-results-on-a-dashboard-not-working/m-p/27665#M5399</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2015-09-30T15:51:19Z</dc:date>
    </item>
  </channel>
</rss>

