<?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 use a scheduled report as the base search in a dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244839#M15254</link>
    <description>&lt;P&gt;I tried, same result unfortunately.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2016 04:27:20 GMT</pubDate>
    <dc:creator>sylbaea</dc:creator>
    <dc:date>2016-11-23T04:27:20Z</dc:date>
    <item>
      <title>Is it possible to use a scheduled report as the base search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244835#M15250</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am using Splunk 6.5&lt;/P&gt;

&lt;P&gt;I would like to leverage &lt;STRONG&gt;scheduled&lt;/STRONG&gt; report capability to speed up dashboard rendering. &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I have a complex report making a search like &lt;CODE&gt;search (...) | table A, B, C&lt;/CODE&gt; where &lt;CODE&gt;(...)&lt;/CODE&gt; is a complex query made of dedup, lookup, eval, etc. commands.&lt;/LI&gt;
&lt;LI&gt;I scheduled this report to be computed every hour&lt;/LI&gt;
&lt;LI&gt;I check I get the expected result&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Then I try to define this scheduled search as parent search of a dashboard like following...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;search id="CurrentTickets" ref="my report"&amp;gt;
  &amp;lt;/search&amp;gt;
    (...)
          &amp;lt;single&amp;gt;
        &amp;lt;search base="CurrentTickets"&amp;gt;
          &amp;lt;query&amp;gt;stats count by A&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
      &amp;lt;/single&amp;gt;
    (...)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I try to display the dashboard, it does not display anything (trying to search forever).&lt;BR /&gt;
On the other hand, if I replace the parent search by:&lt;/P&gt;

&lt;P&gt;&lt;SEARCH id="CurrentTickets"&gt;&lt;BR /&gt;
            &lt;QUERY&gt;search (...) | table A, B, C&lt;/QUERY&gt;&lt;BR /&gt;
          &lt;/SEARCH&gt;&lt;BR /&gt;
In this case, it displays as expected, but of course not with the expected performance as it does computer real-time my search.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Is it possible to combine a scheduled report with parent search concept?&lt;/P&gt;

&lt;P&gt;Regards.&lt;/P&gt;

&lt;P&gt;Sylvain&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 15:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244835#M15250</guid>
      <dc:creator>sylbaea</dc:creator>
      <dc:date>2016-11-22T15:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a scheduled report as the base search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244836#M15251</link>
      <description>&lt;P&gt;try adding a query tag:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search id="CurrentTickets" ref="my report"&amp;gt;
&amp;lt;query&amp;gt; fields *&amp;lt;/query&amp;gt;
       &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 22 Nov 2016 16:10:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244836#M15251</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-11-22T16:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a scheduled report as the base search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244837#M15252</link>
      <description>&lt;P&gt;Thanks for the suggestion... Strangely, with this change, the panels in the dashboard starts to render their content but very very slow, even slower than when the search is executed live.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 16:22:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244837#M15252</guid>
      <dc:creator>sylbaea</dc:creator>
      <dc:date>2016-11-22T16:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a scheduled report as the base search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244838#M15253</link>
      <description>&lt;P&gt;possibly try to do a &lt;CODE&gt;fields a, b, c&lt;/CODE&gt; instead of &lt;CODE&gt;fields *&lt;/CODE&gt; in case it's bringing back unexpected fields?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2016 16:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244838#M15253</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2016-11-22T16:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a scheduled report as the base search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244839#M15254</link>
      <description>&lt;P&gt;I tried, same result unfortunately.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 04:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244839#M15254</guid>
      <dc:creator>sylbaea</dc:creator>
      <dc:date>2016-11-23T04:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a scheduled report as the base search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244840#M15255</link>
      <description>&lt;P&gt;I was Googling around for this same thing and found your post. Swapping &lt;STRONG&gt;ref&lt;/STRONG&gt; and &lt;STRONG&gt;id&lt;/STRONG&gt; worked for me, strangely.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search ref="my report" id="CurrentTickets"&amp;gt;
    &amp;lt;earliest&amp;gt;$TOKEN_TIME.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$TOKEN_TIME.latest$&amp;lt;/latest&amp;gt;
&amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried using query tags as well per cmerriman's answer, but the search wouldn't fire off until I removed them.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 02:39:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244840#M15255</guid>
      <dc:creator>rlacher</dc:creator>
      <dc:date>2016-12-20T02:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use a scheduled report as the base search in a dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244841#M15256</link>
      <description>&lt;P&gt;did you get this to work in the end?&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2019 20:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Is-it-possible-to-use-a-scheduled-report-as-the-base-search-in-a/m-p/244841#M15256</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2019-03-09T20:13:32Z</dc:date>
    </item>
  </channel>
</rss>

