<?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: Dynamic dropdown field options using another dropdown value in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541254#M37089</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/227098"&gt;@ISP8055&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Yes, you can use the first dropdown token in the second dropdown to filter results. Check this.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;
    &amp;lt;input type="dropdown" token="sourcetype"&amp;gt;
      &amp;lt;label&amp;gt;Sourcetype&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;-60m@m&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="host"&amp;gt;
      &amp;lt;label&amp;gt;Hosts&amp;lt;/label&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;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal sourcetype="$sourcetype$" | stats count by host&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;/fieldset&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 18:15:17 GMT</pubDate>
    <dc:creator>manjunathmeti</dc:creator>
    <dc:date>2021-02-24T18:15:17Z</dc:date>
    <item>
      <title>Dynamic dropdown field options using another dropdown value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541253#M37088</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;Is there a way to create/display a dynamic dropdown using value selected from another dropdown?&lt;BR /&gt;&lt;BR /&gt;For example of what I'm trying to do:&amp;nbsp;&lt;BR /&gt;Suppose I have 2 fields: Region and Server Name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;Region&amp;nbsp; Server&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;NY&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A1&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;B1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;X1&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Z1&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;LA&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A2&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Y2&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Z2&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;TO&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A3&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; B3&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT color="#3366FF"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C3&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;So, the first drop-down gives the user option of selecting region : TO, NY or LA.&amp;nbsp;&lt;BR /&gt;User selects the region: NY,&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;then it should display a dropdown listing the name of NY's server names&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;and when the user selects a NY server: B1, then it displays the panel based on search for server: S1&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 18:01:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541253#M37088</guid>
      <dc:creator>ISP8055</dc:creator>
      <dc:date>2021-02-24T18:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic dropdown field options using another dropdown value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541254#M37089</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/227098"&gt;@ISP8055&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Yes, you can use the first dropdown token in the second dropdown to filter results. Check this.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;fieldset submitButton="true" autoRun="false"&amp;gt;
    &amp;lt;input type="dropdown" token="sourcetype"&amp;gt;
      &amp;lt;label&amp;gt;Sourcetype&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal | stats count by sourcetype&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;-60m@m&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="host"&amp;gt;
      &amp;lt;label&amp;gt;Hosts&amp;lt;/label&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;search&amp;gt;
        &amp;lt;query&amp;gt;index=_internal sourcetype="$sourcetype$" | stats count by host&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;/fieldset&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this reply helps you, an upvote/like would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 18:15:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541254#M37089</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2021-02-24T18:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic dropdown field options using another dropdown value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541272#M37091</link>
      <description>&lt;P&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I tried your search syntax. However, when I select a option from the first dropdown list, the second dropdown doesn't let me select. Second dropdown is greyed out.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 20:57:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541272#M37091</guid>
      <dc:creator>ISP8055</dc:creator>
      <dc:date>2021-02-24T20:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic dropdown field options using another dropdown value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541288#M37092</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I did further troubleshooting and&amp;nbsp; found the issue with my search query. Your syntax helped.&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 02:39:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dynamic-dropdown-field-options-using-another-dropdown-value/m-p/541288#M37092</guid>
      <dc:creator>ISP8055</dc:creator>
      <dc:date>2021-02-25T02:39:54Z</dc:date>
    </item>
  </channel>
</rss>

