<?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 enable or disable dashboard panels based on a drop-down value? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181461#M11180</link>
    <description>&lt;P&gt;Hi Rahul,&lt;/P&gt;

&lt;P&gt;Even I have a similar requirement wherein , the respective dashboard should display depending on the dropdown selection.&lt;BR /&gt;
Can you please let me know how you got this done?&lt;BR /&gt;
Can you please provide the source code?&lt;BR /&gt;
Thanks in advance for the help.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2015 06:56:31 GMT</pubDate>
    <dc:creator>Harishma</dc:creator>
    <dc:date>2015-11-24T06:56:31Z</dc:date>
    <item>
      <title>How to enable or disable dashboard panels based on a drop-down value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181455#M11174</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to enable or disable a dashboard panel based on a drop-down value. For example, there are 2 values in drop-down and 2 panels say-&lt;BR /&gt;
Drilldown has 2 values - A and B&lt;BR /&gt;
Panels- 1 and 2&lt;BR /&gt;
If A is selected 2 panel is hidden and 1 is displayed&lt;BR /&gt;
If B is selected, 1 is hidden 2 is displayed.&lt;BR /&gt;
Any pointers would be helpful on the same.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 13:14:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181455#M11174</guid>
      <dc:creator>rahul_jasrotia</dc:creator>
      <dc:date>2015-01-12T13:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable or disable dashboard panels based on a drop-down value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181456#M11175</link>
      <description>&lt;P&gt;Guys any pointers would be welcome.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 08:23:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181456#M11175</guid>
      <dc:creator>rahul_jasrotia</dc:creator>
      <dc:date>2015-01-13T08:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable or disable dashboard panels based on a drop-down value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181457#M11176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;you can take a look at the depends and rejects tags of the panel: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Viz/PanelreferenceforSimplifiedXML#panel"&gt;Link&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You should be able to set an token based on your dropdown and with the depends and reject tokens your decide if a panel is shown or not. There is a realy good example in the "Splunk 6.2 Overview" app called "Universal Hide-Show Objects".&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 08:44:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181457#M11176</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2015-01-13T08:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable or disable dashboard panels based on a drop-down value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181458#M11177</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;

&lt;P&gt;Thanks you very much but i'm afraid i forgot to include here that i'm using Splunk 6.1. Heard someone telling me to make use of JS and MVC , not sure how to do that as i'm relatively new here.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 08:52:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181458#M11177</guid>
      <dc:creator>rahul_jasrotia</dc:creator>
      <dc:date>2015-01-13T08:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable or disable dashboard panels based on a drop-down value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181459#M11178</link>
      <description>&lt;P&gt;Yeah this might also be a solution. Sorry i can not provide a complete solution for this way. But basically, you have to call a js file within your view (&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/CustomizeSimpleXML"&gt;Doku&lt;/A&gt;). Within the js you can check the value of your dropdown and with this information you can hide/show the panels. This can happen for example via css display: none or something similar. However, you need some experience with js and the splunk webframework to get such an solution up and running. ou can check out &lt;A href="http://dev.splunk.com/view/webframework-splunkjsstack/SP-CAAAESV"&gt;splunk dev&lt;/A&gt; for some tutorials on this topic.&lt;/P&gt;

&lt;P&gt;Greetings&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2015 13:15:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181459#M11178</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2015-01-13T13:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable or disable dashboard panels based on a drop-down value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181460#M11179</link>
      <description>&lt;P&gt;Thanks Tom, i finally found a way of doing the same. Just caught the drilldown event and used if else to compare its values and enable/disable the panels. Thanks for your help .&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2015 10:45:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181460#M11179</guid>
      <dc:creator>rahul_jasrotia</dc:creator>
      <dc:date>2015-01-23T10:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable or disable dashboard panels based on a drop-down value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181461#M11180</link>
      <description>&lt;P&gt;Hi Rahul,&lt;/P&gt;

&lt;P&gt;Even I have a similar requirement wherein , the respective dashboard should display depending on the dropdown selection.&lt;BR /&gt;
Can you please let me know how you got this done?&lt;BR /&gt;
Can you please provide the source code?&lt;BR /&gt;
Thanks in advance for the help.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 06:56:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181461#M11180</guid>
      <dc:creator>Harishma</dc:creator>
      <dc:date>2015-11-24T06:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable or disable dashboard panels based on a drop-down value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181462#M11181</link>
      <description>&lt;P&gt;Harishma,&lt;BR /&gt;
With the new version of splunk, you can use the  tag in the dashboard and can basically assign the dropdown value to a token and can use the same in the depends on tag.&lt;/P&gt;

&lt;P&gt;For previous versions, i had changed my dashboard to a html dashboard and then caught the drilldown event and used if else to compare its values and enable/disable the panels.&lt;/P&gt;

&lt;P&gt;Refer to the below link:-&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/188709/how-to-display-dashboard-panels-dynamically.html"&gt;https://answers.splunk.com/answers/188709/how-to-display-dashboard-panels-dynamically.html&lt;/A&gt;&lt;BR /&gt;
Hope that solves your issue.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 12:01:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-enable-or-disable-dashboard-panels-based-on-a-drop-down/m-p/181462#M11181</guid>
      <dc:creator>rahul_jasrotia</dc:creator>
      <dc:date>2015-11-24T12:01:48Z</dc:date>
    </item>
  </channel>
</rss>

