<?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: two searchTemplate in one form in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71980#M3910</link>
    <description>&lt;P&gt;Here is a sample based on one of my dashboard forms. I hope this helps. Basically you just use the value of the input token as a variable in the second populating search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldset submitButton="true"&amp;gt;
    &amp;lt;input type="dropdown" token="rmonth1"&amp;gt;
      &amp;lt;label&amp;gt;Recent Report Month&amp;lt;/label&amp;gt;
      &amp;lt;populatingSearch fieldForValue="report_month" fieldForLabel="report_month"&amp;gt;
        &amp;lt;![CDATA[| savedsearch "AWS Bill - Monthly Latest Snapshot" | stats count by report_month]]&amp;gt;
      &amp;lt;/populatingSearch&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="rmonth2"&amp;gt;
      &amp;lt;label&amp;gt;Previous Comparison Report Month&amp;lt;/label&amp;gt;
      &amp;lt;populatingSearch fieldForValue="report_month" fieldForLabel="report_month"&amp;gt;
        &amp;lt;![CDATA[| savedsearch "AWS Bill - Monthly Latest Snapshot" | where report_month&amp;lt;"$rmonth1$" | stats count by report_month]]&amp;gt;
      &amp;lt;/populatingSearch&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 03 Apr 2015 17:31:31 GMT</pubDate>
    <dc:creator>sbochniewicz</dc:creator>
    <dc:date>2015-04-03T17:31:31Z</dc:date>
    <item>
      <title>two searchTemplate in one form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71976#M3906</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How Can I run two searchTemplate in a single form&lt;/P&gt;

&lt;P&gt;I have a query which gets two variable : $first$   and   $second$&lt;/P&gt;

&lt;P&gt;Now $first$ is always  ABC&lt;/P&gt;

&lt;P&gt;but $second$ varies according to the country:&lt;/P&gt;

&lt;P&gt;For INDIA: it has 5 values&lt;BR /&gt;
For AUS : it has 5 values&lt;/P&gt;

&lt;P&gt;So, I am clicking ABC and any of the one value of AUS then it is not working, because INDIA has been declared before AUS in the form..&lt;/P&gt;

&lt;P&gt;it is not taking values for both INDIA and AUS&lt;/P&gt;

&lt;P&gt;Please help&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2012 19:07:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71976#M3906</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2012-12-22T19:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: two searchTemplate in one form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71977#M3907</link>
      <description>&lt;P&gt;Can I expect some prompt answer to my problem ..&lt;BR /&gt;
Your help would be highly appreciated&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2012 22:21:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71977#M3907</guid>
      <dc:creator>abhayneilam</dc:creator>
      <dc:date>2012-12-22T22:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: two searchTemplate in one form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71978#M3908</link>
      <description>&lt;P&gt;It's saturday, I wouldn't expect many people to be around (in fact, I'm not really sure what I'm doing here either). Patience is a virtue.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Dec 2012 22:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71978#M3908</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-12-22T22:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: two searchTemplate in one form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71979#M3909</link>
      <description>&lt;P&gt;Thanks @Ayn for standing up for the weekend but it is 2 years plus and I have this same question&lt;/P&gt;

&lt;P&gt;I would like to use two form searches  on the same dashboard.  I tried puting them in seperet row's but that didn't work&lt;/P&gt;

&lt;P&gt;I would like to have one form search at the top of the dashboard and another form search at the bottom with different form windows for each of the two 's&lt;/P&gt;

&lt;P&gt;Can anyone help me and @abhayneilam  with this problem?&lt;/P&gt;

&lt;P&gt;If you can please post as an answer so @abhayneilam can review and select as an answer&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 14:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71979#M3909</guid>
      <dc:creator>hartfoml</dc:creator>
      <dc:date>2015-04-03T14:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: two searchTemplate in one form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71980#M3910</link>
      <description>&lt;P&gt;Here is a sample based on one of my dashboard forms. I hope this helps. Basically you just use the value of the input token as a variable in the second populating search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;fieldset submitButton="true"&amp;gt;
    &amp;lt;input type="dropdown" token="rmonth1"&amp;gt;
      &amp;lt;label&amp;gt;Recent Report Month&amp;lt;/label&amp;gt;
      &amp;lt;populatingSearch fieldForValue="report_month" fieldForLabel="report_month"&amp;gt;
        &amp;lt;![CDATA[| savedsearch "AWS Bill - Monthly Latest Snapshot" | stats count by report_month]]&amp;gt;
      &amp;lt;/populatingSearch&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="rmonth2"&amp;gt;
      &amp;lt;label&amp;gt;Previous Comparison Report Month&amp;lt;/label&amp;gt;
      &amp;lt;populatingSearch fieldForValue="report_month" fieldForLabel="report_month"&amp;gt;
        &amp;lt;![CDATA[| savedsearch "AWS Bill - Monthly Latest Snapshot" | where report_month&amp;lt;"$rmonth1$" | stats count by report_month]]&amp;gt;
      &amp;lt;/populatingSearch&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Apr 2015 17:31:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71980#M3910</guid>
      <dc:creator>sbochniewicz</dc:creator>
      <dc:date>2015-04-03T17:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: two searchTemplate in one form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71981#M3911</link>
      <description>&lt;P&gt;@hartfomi I hope this answers your question &lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/130801/put-multiple-forms-on-a-single-dashboard.html"&gt;http://answers.splunk.com/answers/130801/put-multiple-forms-on-a-single-dashboard.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2015 17:42:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/two-searchTemplate-in-one-form/m-p/71981#M3911</guid>
      <dc:creator>sbochniewicz</dc:creator>
      <dc:date>2015-04-03T17:42:32Z</dc:date>
    </item>
  </channel>
</rss>

