<?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: Question regarding multiple dashboard inputs with the same search ref in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300835#M43154</link>
    <description>&lt;P&gt;And where is &lt;CODE&gt;ref="Prod Boxes"&lt;/CODE&gt; coming from? What is that search supposed to be?&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2017 23:47:40 GMT</pubDate>
    <dc:creator>rjthibod</dc:creator>
    <dc:date>2017-02-15T23:47:40Z</dc:date>
    <item>
      <title>Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300827#M43146</link>
      <description>&lt;P&gt;It appears on my dashboard that if I have several inputs that all have the same search ref, that the "waiting for results" rolls from one to the next and so on. The impression I get is that it's re-running the search for each one, but it should just be the same search re-used across inputs.&lt;/P&gt;

&lt;P&gt;I tried migrating the source from&lt;BR /&gt;
&amp;lt; search ref="my search"&amp;gt;&lt;BR /&gt;
to use a base search but it did &lt;STRONG&gt;not&lt;/STRONG&gt; like that.&lt;/P&gt;

&lt;P&gt;Am I perceiving the functionality correctly? Is there something that I can do to streamline this?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 19:36:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300827#M43146</guid>
      <dc:creator>EricWehrly</dc:creator>
      <dc:date>2017-02-15T19:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300828#M43147</link>
      <description>&lt;P&gt;Take a look here &lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Viz/Savedsearches"&gt;http://docs.splunk.com/Documentation/SplunkCloud/6.5.1612/Viz/Savedsearches&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Your on the right track - you can use saved searches so that the heavy lifting has occurred before you load the dashboard.&lt;/P&gt;

&lt;P&gt;You can also load a single search for the dashboard and then post process the results (depending on the search commands your panels use)&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 19:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300828#M43147</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-02-15T19:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300829#M43148</link>
      <description>&lt;P&gt;The link above is for SplunkCloud (which you tagged) but the Splunk Enterprise version  (which I think is a bit more comprehensive) is: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/Savedsearches"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/Savedsearches&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 19:46:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300829#M43148</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2017-02-15T19:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300830#M43149</link>
      <description>&lt;P&gt;My experience is that base searches using  &lt;CODE&gt;id="search_name"&lt;/CODE&gt; and then using  &lt;CODE&gt;base="search_name"&lt;/CODE&gt; for input elements does not work.&lt;/P&gt;

&lt;P&gt;You can get around this limitation (if it is true) by getting the job SID for the base search and then calling &lt;CODE&gt;loadjob &amp;lt;YOUR_SID&amp;gt;&lt;/CODE&gt; for the input populating search. That does not seem to have any issue (I use it in my app on Splunk 6.x).&lt;/P&gt;

&lt;P&gt;Something like this where the token  &lt;CODE&gt;$base_host_list_sid$&lt;/CODE&gt; contains the SID for the base search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="dropdown" token="dashboard_host_filter" searchWhenChanged="true"&amp;gt;
  &amp;lt;label&amp;gt;Selected Host&amp;lt;/label&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;
        | loadjob $base_host_list_sid$
            ...
&amp;lt;/input
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Feb 2017 21:05:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300830#M43149</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-15T21:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300831#M43150</link>
      <description>&lt;P&gt;Where are you pulling the SID from? In my environment, SIDs don't really last &amp;gt; 7 days .... would a report have a constant SID that is updated with each run?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 21:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300831#M43150</guid>
      <dc:creator>EricWehrly</dc:creator>
      <dc:date>2017-02-15T21:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300832#M43151</link>
      <description>&lt;P&gt;Right now I'm following what's outlined in &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/Savedsearches#Reference_a_search_from_a_report"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.1/Viz/Savedsearches#Reference_a_search_from_a_report&lt;/A&gt; and have two inputs with the same search ref to a report ... however, when I clean my jobs in the manager and refresh the dashboard, I get one entry per input (so two inputs runs the search two times, etc.)&lt;/P&gt;

&lt;P&gt;Both of the inputs look like this when referencing the same report:&lt;BR /&gt;
&lt;A href="https://coxautoinc.box.com/s/mf074qitxcm2dzlhbpfz5d1ge7szh3ez"&gt;https://coxautoinc.box.com/s/mf074qitxcm2dzlhbpfz5d1ge7szh3ez&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;(I'm having a heck of a time getting an image on here so the link will just have to do)&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 21:49:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300832#M43151</guid>
      <dc:creator>EricWehrly</dc:creator>
      <dc:date>2017-02-15T21:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300833#M43152</link>
      <description>&lt;P&gt;I think it would be helpful if you share more about the dashboard/report because report's typically don't have input options.&lt;/P&gt;

&lt;P&gt;Also, is your base search a search in a dashboard or is it coming from a savedsearch? I think that may be where the confusion begins for me.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 22:17:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300833#M43152</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-15T22:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300834#M43153</link>
      <description>&lt;P&gt;The dashboard XML starts more or less like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;search id="baseSearch"&amp;gt;
    &amp;lt;query&amp;gt;(my query)&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;$timePicker.earliest$&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;$timePicker.latest$&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="server1" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Server 1&amp;lt;/label&amp;gt;
      &amp;lt;search ref="Prod Boxes"&amp;gt;&amp;lt;/search&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;host&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;host&amp;lt;/fieldForValue&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="server2" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Server 2&amp;lt;/label&amp;gt;
      &amp;lt;search ref="Prod Boxes"&amp;gt;&amp;lt;/search&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;host&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;host&amp;lt;/fieldForValue&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 15 Feb 2017 23:40:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300834#M43153</guid>
      <dc:creator>EricWehrly</dc:creator>
      <dc:date>2017-02-15T23:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300835#M43154</link>
      <description>&lt;P&gt;And where is &lt;CODE&gt;ref="Prod Boxes"&lt;/CODE&gt; coming from? What is that search supposed to be?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 23:47:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300835#M43154</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-15T23:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300836#M43155</link>
      <description>&lt;P&gt;I've got a picture of the GUI for the input here:&lt;BR /&gt;
&lt;A href="https://coxautoinc.box.com/s/mf074qitxcm2dzlhbpfz5d1ge7szh3ez"&gt;https://coxautoinc.box.com/s/mf074qitxcm2dzlhbpfz5d1ge7szh3ez&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It's set to come from a report, that's scheduled to run daily. The report should kick out all of the hostnames currently in production.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 23:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300836#M43155</guid>
      <dc:creator>EricWehrly</dc:creator>
      <dc:date>2017-02-15T23:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300837#M43156</link>
      <description>&lt;P&gt;First, try making &lt;CODE&gt;fieldforLabel&lt;/CODE&gt; and &lt;CODE&gt;fieldForValue&lt;/CODE&gt; unique between the two searches. You can disregard my earlier comment about base searches and the SID. I thought you were doing something else.&lt;/P&gt;

&lt;P&gt;Also, reports are usually tied to a visualization. The report should be identifiable as a savedsearch, which means you can use the &lt;CODE&gt;savedsearch&lt;/CODE&gt; command and rename the host fields to be unique. In the example below, I assume your report can be found as the saved search labelled "Prod Boxes". Change that in my example if it is found via a different name.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;     &amp;lt;input type="dropdown" token="server1" searchWhenChanged="true"&amp;gt;
       &amp;lt;label&amp;gt;Server 1&amp;lt;/label&amp;gt;
       &amp;lt;search&amp;gt;| savedsearch "Prod Boxes" | rename host as host1&amp;lt;/search&amp;gt;
       &amp;lt;fieldForLabel&amp;gt;host1&amp;lt;/fieldForLabel&amp;gt;
       &amp;lt;fieldForValue&amp;gt;host1&amp;lt;/fieldForValue&amp;gt;
     &amp;lt;/input&amp;gt;
     &amp;lt;input type="dropdown" token="server2" searchWhenChanged="true"&amp;gt;
       &amp;lt;label&amp;gt;Server 2&amp;lt;/label&amp;gt;
       &amp;lt;search&amp;gt;| savedsearch "Prod Boxes" | rename host as host2&amp;lt;/search&amp;gt;
       &amp;lt;fieldForLabel&amp;gt;host2&amp;lt;/fieldForLabel&amp;gt;
       &amp;lt;fieldForValue&amp;gt;host2&amp;lt;/fieldForValue&amp;gt;
     &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Feb 2017 00:19:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300837#M43156</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-16T00:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300838#M43157</link>
      <description>&lt;P&gt;As a side note, this sounds like a scenario you could populate a lookup in a savedsearch, and then use the lookup to populate these inputs and the report. I do that in my own app for something like this. That way, the lookup's content persist even if you Splunk goes down or the TTL on the search expires.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 00:21:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300838#M43157</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-16T00:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300839#M43158</link>
      <description>&lt;P&gt;This would be great. Awesome suggestions.&lt;/P&gt;

&lt;P&gt;Unfortunately for me, if I tweak it to match that, I get "node  is not allowed here" and the inputs don't populate.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 22:16:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300839#M43158</guid>
      <dc:creator>EricWehrly</dc:creator>
      <dc:date>2017-02-16T22:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300840#M43159</link>
      <description>&lt;P&gt;Where do you see "node is not allowed here"?&lt;/P&gt;

&lt;P&gt;Also, what version of Splunk are you running?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 22:48:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300840#M43159</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-16T22:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300841#M43160</link>
      <description>&lt;P&gt;I see it in the dashboard XML editor.&lt;/P&gt;

&lt;P&gt;I'm running Splunk Cloud 6.5.1&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 21:21:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300841#M43160</guid>
      <dc:creator>EricWehrly</dc:creator>
      <dc:date>2017-02-20T21:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Question regarding multiple dashboard inputs with the same search ref</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300842#M43161</link>
      <description>&lt;P&gt;You probably need to check that all of your XML is valid. Can you post all of your XML or double-check it in an XML validator in a text editor or online.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 09:13:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Question-regarding-multiple-dashboard-inputs-with-the-same/m-p/300842#M43161</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-21T09:13:50Z</dc:date>
    </item>
  </channel>
</rss>

