<?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 how to get a dropdown filter value based on other value selected in other dropdown filter in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-a-dropdown-filter-value-based-on-other-value-selected/m-p/427301#M74883</link>
    <description>&lt;P&gt;for example , i have country field drop down and city field dropdown like below ,&lt;/P&gt;

&lt;P&gt;country   City&lt;BR /&gt;
IND           Chennai&lt;BR /&gt;
US             New York&lt;BR /&gt;
UK              London&lt;/P&gt;

&lt;P&gt;when i select IND from a drop down filter ,automaticllicay Chennai should be selected(displayed) in City dropdown filter .&lt;/P&gt;

&lt;P&gt;Can anyone help me to do this .&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2019 06:53:33 GMT</pubDate>
    <dc:creator>dtccsundar</dc:creator>
    <dc:date>2019-04-26T06:53:33Z</dc:date>
    <item>
      <title>how to get a dropdown filter value based on other value selected in other dropdown filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-a-dropdown-filter-value-based-on-other-value-selected/m-p/427301#M74883</link>
      <description>&lt;P&gt;for example , i have country field drop down and city field dropdown like below ,&lt;/P&gt;

&lt;P&gt;country   City&lt;BR /&gt;
IND           Chennai&lt;BR /&gt;
US             New York&lt;BR /&gt;
UK              London&lt;/P&gt;

&lt;P&gt;when i select IND from a drop down filter ,automaticllicay Chennai should be selected(displayed) in City dropdown filter .&lt;/P&gt;

&lt;P&gt;Can anyone help me to do this .&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 06:53:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-a-dropdown-filter-value-based-on-other-value-selected/m-p/427301#M74883</guid>
      <dc:creator>dtccsundar</dc:creator>
      <dc:date>2019-04-26T06:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to get a dropdown filter value based on other value selected in other dropdown filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-get-a-dropdown-filter-value-based-on-other-value-selected/m-p/427302#M74884</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this, I used lookups&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;country_city&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="country"&amp;gt;
      &amp;lt;label&amp;gt;field1&amp;lt;/label&amp;gt;
      &amp;lt;prefix&amp;gt;country="&amp;lt;/prefix&amp;gt;
      &amp;lt;suffix&amp;gt;"&amp;lt;/suffix&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;country&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;country&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;|inputlookup country.csv |table country&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="city"&amp;gt;
      &amp;lt;label&amp;gt;field2&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;city&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;city&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;selectFirstChoice&amp;gt;true&amp;lt;/selectFirstChoice&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;|inputlookup city.csv |search  $country$ | table city&amp;lt;/query&amp;gt;
      &amp;lt;/search&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;country.csv&lt;BR /&gt;
    country&lt;BR /&gt;
    IND&lt;BR /&gt;
    US&lt;BR /&gt;
    UK&lt;/P&gt;

&lt;P&gt;city.csv&lt;BR /&gt;
country,city&lt;BR /&gt;
IND,Chennai&lt;BR /&gt;
US,New York&lt;BR /&gt;
UK,London&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 13:18:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-get-a-dropdown-filter-value-based-on-other-value-selected/m-p/427302#M74884</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-04-26T13:18:18Z</dc:date>
    </item>
  </channel>
</rss>

