<?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 pass static dropdown value to a second static dropdown in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207558#M13021</link>
    <description>&lt;P&gt;thanks man!&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2016 21:09:04 GMT</pubDate>
    <dc:creator>guillecasco</dc:creator>
    <dc:date>2016-06-14T21:09:04Z</dc:date>
    <item>
      <title>how to pass static dropdown value to a second static dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207555#M13018</link>
      <description>&lt;P&gt;i tried to do this with querys  to populate each dropdown but i´m getting some errors. I just want to have this manually like this:&lt;/P&gt;

&lt;P&gt;Dropdown 1&lt;BR /&gt;
A&lt;BR /&gt;
B&lt;BR /&gt;
C&lt;/P&gt;

&lt;P&gt;dropdown 2&lt;BR /&gt;
123&lt;BR /&gt;
234&lt;BR /&gt;
345&lt;BR /&gt;
456&lt;/P&gt;

&lt;P&gt;if i choose A i just want to show on other dropdown: 123 and 234 (for example)&lt;BR /&gt;
if i choose B i just want to show 345 and 123&lt;BR /&gt;
if i choose C 123,234 and456...and so on&lt;/P&gt;

&lt;P&gt;is there a way to do this manually? there are not so many values and i don´t mind adding them . Is there some kind of "eval" with dropdowns? &lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2016 21:04:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207555#M13018</guid>
      <dc:creator>guillecasco</dc:creator>
      <dc:date>2016-06-13T21:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass static dropdown value to a second static dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207556#M13019</link>
      <description>&lt;P&gt;@guillecasco,&lt;/P&gt;

&lt;P&gt;An easier approach would be use a query to populate your second dropdown. The query for the second dropdown can use token value from the first drop down to filter appropriately.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/Viz/tokens#Define_tokens_for_form_inputs"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/Viz/tokens#Define_tokens_for_form_inputs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 20:41:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207556#M13019</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-14T20:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass static dropdown value to a second static dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207557#M13020</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;P&gt;1) Create a lookup table, say dropdownvalues.csv, with two columns field1 field2    **choose good names if possible for both lookup and columns &lt;BR /&gt;
 dropdownvalues.csv&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; field1,field2
A,123
A,234
B,345
B,123
C,123.
C,234
C,456
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;2) Dropdown 1, use this query (assuming token name is field1)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup dropdownvalues.csv | stats count by field1 | table field1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;3) Dropdown 2, use this query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| inputlookup dropdownvalues.csv | search field1="$field1$"| stats count by field2 | table field2
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jun 2016 20:52:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207557#M13020</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-14T20:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass static dropdown value to a second static dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207558#M13021</link>
      <description>&lt;P&gt;thanks man!&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 21:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207558#M13021</guid>
      <dc:creator>guillecasco</dc:creator>
      <dc:date>2016-06-14T21:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass static dropdown value to a second static dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207559#M13022</link>
      <description>&lt;P&gt;thanks man, it was easier to get the values on the second drop box dynamically from a search. &lt;BR /&gt;
Will implement you idea when i can´t do that.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2016 21:09:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-pass-static-dropdown-value-to-a-second-static-dropdown/m-p/207559#M13022</guid>
      <dc:creator>guillecasco</dc:creator>
      <dc:date>2016-06-14T21:09:11Z</dc:date>
    </item>
  </channel>
</rss>

