<?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 load a scheduled report in a dashboard panel based on the value of a drop-down form? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-a-scheduled-report-in-a-dashboard-panel-based-on-the/m-p/225473#M13968</link>
    <description>&lt;P&gt;Depending on your version of Splunk (given that you're using the newer search element syntax, i suspect you're ok), but one option may be to use changed conditions, to show/hide different panels as described in an unset example in the docs: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Viz/PanelreferenceforSimplifiedXML#unset"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Viz/PanelreferenceforSimplifiedXML#unset&lt;/A&gt; (they're using a drilldown instead of an input changed, but same principle)&lt;/P&gt;

&lt;P&gt;Another option may be instead of a search ref, have a search string that uses either the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob"&gt;loadjob&lt;/A&gt; or &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/savedsearch"&gt;savedsearch&lt;/A&gt; command instead. Check the docs for syntax, but string substitutions should work there.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2016 04:55:54 GMT</pubDate>
    <dc:creator>acharlieh</dc:creator>
    <dc:date>2016-01-14T04:55:54Z</dc:date>
    <item>
      <title>How to load a scheduled report in a dashboard panel based on the value of a drop-down form?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-a-scheduled-report-in-a-dashboard-panel-based-on-the/m-p/225472#M13967</link>
      <description>&lt;P&gt;I have a dashboard with a drop down form field which is populated using a search. I want the panels in the dashboard to load scheduled reports based on the value selected in the drop down. Tried the following but it doesn't seem to be working.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;....&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="product"&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;...&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;....&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;....&amp;lt;/fieldForValue&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;....&amp;lt;/title&amp;gt;
        &amp;lt;search ref="$product$-XYZ"&amp;gt;&amp;lt;/search&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
... more panels that use $product$
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Jan 2016 04:00:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-a-scheduled-report-in-a-dashboard-panel-based-on-the/m-p/225472#M13967</guid>
      <dc:creator>ranjithfs1</dc:creator>
      <dc:date>2016-01-14T04:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to load a scheduled report in a dashboard panel based on the value of a drop-down form?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-a-scheduled-report-in-a-dashboard-panel-based-on-the/m-p/225473#M13968</link>
      <description>&lt;P&gt;Depending on your version of Splunk (given that you're using the newer search element syntax, i suspect you're ok), but one option may be to use changed conditions, to show/hide different panels as described in an unset example in the docs: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/Viz/PanelreferenceforSimplifiedXML#unset"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/Viz/PanelreferenceforSimplifiedXML#unset&lt;/A&gt; (they're using a drilldown instead of an input changed, but same principle)&lt;/P&gt;

&lt;P&gt;Another option may be instead of a search ref, have a search string that uses either the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob"&gt;loadjob&lt;/A&gt; or &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/savedsearch"&gt;savedsearch&lt;/A&gt; command instead. Check the docs for syntax, but string substitutions should work there.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 04:55:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-load-a-scheduled-report-in-a-dashboard-panel-based-on-the/m-p/225473#M13968</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2016-01-14T04:55:54Z</dc:date>
    </item>
  </channel>
</rss>

