<?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 Question? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477372#M31347</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Does anyone have idea about achieving it.&lt;/P&gt;

&lt;P&gt;Thanks ...&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2020 11:13:04 GMT</pubDate>
    <dc:creator>Shan</dc:creator>
    <dc:date>2020-04-20T11:13:04Z</dc:date>
    <item>
      <title>Dropdown Question?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477368#M31343</link>
      <description>&lt;P&gt;Hi Friends, &lt;/P&gt;

&lt;P&gt;I have a drop-down filter in dashboard. If that filter is not populating any value, then while loading the dashboard itself that filter shouldn't be visible in dashboard and tokens used in the panel query(dashboard) for that filter shouldn't be active.. &lt;/P&gt;

&lt;P&gt;Wise versa  once the data is there in that filter, filter need to be shown in dashboard and tokens used in the panel query(dashboard) for that filter should be active..&lt;/P&gt;

&lt;P&gt;Please help me on achieving it ..&lt;/P&gt;

&lt;P&gt;Thanks in advance .. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 14:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477368#M31343</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2020-04-17T14:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Question?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477369#M31344</link>
      <description>&lt;P&gt;How do you populate a hidden filter?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 20:58:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477369#M31344</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-17T20:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Question?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477370#M31345</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;input type="dropdown" token="number" depends="$show_dropdown$"&amp;gt;
      &amp;lt;label&amp;gt;Sample dropdown&amp;lt;/label&amp;gt;
      &amp;lt;fieldForLabel&amp;gt;count&amp;lt;/fieldForLabel&amp;gt;
      &amp;lt;fieldForValue&amp;gt;count&amp;lt;/fieldForValue&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt; .....  your query........&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;done&amp;gt;
          &amp;lt;condition match="'job.resultCount' &amp;gt;0"&amp;gt;
            &amp;lt;set token="show_dropdown"&amp;gt;true&amp;lt;/set&amp;gt;
          &amp;lt;/condition&amp;gt;
          &amp;lt;condition&amp;gt;
            &amp;lt;unset token="show_dropdown"&amp;gt;&amp;lt;/unset&amp;gt;
          &amp;lt;/condition&amp;gt;
        &amp;lt;/done&amp;gt;
      &amp;lt;/search&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 18 Apr 2020 03:04:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477370#M31345</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2020-04-18T03:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Question?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477371#M31346</link>
      <description>&lt;P&gt;@vnravikumar,&lt;/P&gt;

&lt;P&gt;Thanks for your input.. &lt;/P&gt;

&lt;P&gt;Yes, i achieved the above one with help of splunk doc. Now the problem, When the dropdown is hidden. I don't want that dropdown token to be used in the panel query. How to achieve it. Token need to be active in panel query of dashboard, when dropdown is visible .. &lt;/P&gt;

&lt;P&gt;Thanks ... &lt;/P&gt;</description>
      <pubDate>Sun, 19 Apr 2020 06:29:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477371#M31346</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2020-04-19T06:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown Question?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477372#M31347</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Does anyone have idea about achieving it.&lt;/P&gt;

&lt;P&gt;Thanks ...&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 11:13:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-Question/m-p/477372#M31347</guid>
      <dc:creator>Shan</dc:creator>
      <dc:date>2020-04-20T11:13:04Z</dc:date>
    </item>
  </channel>
</rss>

