<?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: Dropdown based on another dropdown in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336925#M21881</link>
    <description>&lt;P&gt;can you paste your xml from your dashboard so i can see what might be happening? i just need the part from &lt;CODE&gt;&amp;lt;fieldset...&amp;gt;&lt;/CODE&gt; to &lt;CODE&gt;&amp;lt;/fieldset&amp;gt;&lt;/CODE&gt; where all the dropdowns are&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jul 2017 15:24:04 GMT</pubDate>
    <dc:creator>cmerriman</dc:creator>
    <dc:date>2017-07-28T15:24:04Z</dc:date>
    <item>
      <title>Dropdown based on another dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336921#M21877</link>
      <description>&lt;P&gt;I have a dropdown menu where you can select a state and I want another dropdown for city. Is there a way that the city dropdown then only has the options for the state chosen? For example, if I chose Massachusetts in the first dropdown, Los Angeles would not be an option to pick on the second drop down menu.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 14:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336921#M21877</guid>
      <dc:creator>sarahw3</dc:creator>
      <dc:date>2017-07-28T14:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown based on another dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336922#M21878</link>
      <description>&lt;P&gt;use the token that is creating the state dropdown in your search that is creating the city dropdown.&lt;/P&gt;

&lt;P&gt;for instance, if $state$ is the token name for your state dropdown: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  sourcetype="support_csv" location=$state$|stats count by city|fields - count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Jul 2017 14:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336922#M21878</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-07-28T14:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown based on another dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336923#M21879</link>
      <description>&lt;P&gt;It is saying my search produces no result. I tried it as State=$state$ and that didn't work either.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:07:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336923#M21879</guid>
      <dc:creator>sarahw3</dc:creator>
      <dc:date>2017-07-28T15:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown based on another dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336924#M21880</link>
      <description>&lt;P&gt;When I get rid of the part with the token it works but it shows all the cities for all states.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:18:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336924#M21880</guid>
      <dc:creator>sarahw3</dc:creator>
      <dc:date>2017-07-28T15:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown based on another dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336925#M21881</link>
      <description>&lt;P&gt;can you paste your xml from your dashboard so i can see what might be happening? i just need the part from &lt;CODE&gt;&amp;lt;fieldset...&amp;gt;&lt;/CODE&gt; to &lt;CODE&gt;&amp;lt;/fieldset&amp;gt;&lt;/CODE&gt; where all the dropdowns are&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:24:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336925#M21881</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-07-28T15:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown based on another dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336926#M21882</link>
      <description>&lt;P&gt;I got it! I just had to put the token in quotes! Thank you so much for all your help! You are a life saver!! I wish I had all your splunk knowledge hahaha!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:30:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336926#M21882</guid>
      <dc:creator>sarahw3</dc:creator>
      <dc:date>2017-07-28T15:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown based on another dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336927#M21883</link>
      <description>&lt;P&gt;Use a &lt;CODE&gt;populating search&lt;/CODE&gt; for the 2nd dropdown that uses something like &lt;CODE&gt;|inputcsv YourFileWithStatesAndCities Here | search State=$state$&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:31:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336927#M21883</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-28T15:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown based on another dropdown</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336928#M21884</link>
      <description>&lt;P&gt;What you want is a cascading input.&lt;/P&gt;

&lt;P&gt;First input populating search:&lt;BR /&gt;
sourcetype=mySourcetype | stats count by "State"&lt;/P&gt;

&lt;P&gt;First input token: state_token&lt;/P&gt;

&lt;P&gt;Second input populating search:&lt;BR /&gt;
sourcetype=mySourcetype State=$state_token|s$ | stats count by "City"&lt;/P&gt;

&lt;P&gt;Note the use of a |s filter with the state_token. This will add quote marks to capture states like North Dakota.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2017 15:36:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-based-on-another-dropdown/m-p/336928#M21884</guid>
      <dc:creator>sscullion_splun</dc:creator>
      <dc:date>2017-07-28T15:36:02Z</dc:date>
    </item>
  </channel>
</rss>

