<?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 . in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634490#M52003</link>
    <description>&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 16:09:45 GMT</pubDate>
    <dc:creator>iegus</dc:creator>
    <dc:date>2023-03-15T16:09:45Z</dc:date>
    <item>
      <title>.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634490#M52003</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 16:09:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634490#M52003</guid>
      <dc:creator>iegus</dc:creator>
      <dc:date>2023-03-15T16:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to dynamically show/hide a dashboard panel based on drop-down selection?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634493#M52004</link>
      <description>&lt;P&gt;Hi there.&amp;nbsp;&lt;BR /&gt;It looks like you dropdown logic is correct.&lt;BR /&gt;Set a token to display the panel, unset token to hide the panel.&lt;BR /&gt;To display all, simply set all tokens.&lt;BR /&gt;For each panel you want to hide/show, ensure you have something similar to the following&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You would have a token for each of the elements you want to conditionally display; table, single, and graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;panel depends="$graph$"&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel depends=$table$"&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel depends=$single$"&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the required elements in them&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 01:17:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634493#M52004</guid>
      <dc:creator>michael_bates_1</dc:creator>
      <dc:date>2023-03-15T01:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to dynamically show/hide a dashboard panel based on drop-down selection?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634495#M52005</link>
      <description>&lt;P&gt;Could you show me how I can include the codes you sent and how it would look?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 01:27:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634495#M52005</guid>
      <dc:creator>iegus</dc:creator>
      <dc:date>2023-03-15T01:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to dynamically show/hide a dashboard panel based on drop-down selection?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634497#M52006</link>
      <description>&lt;P&gt;Hi, here is a working skeleton that shows the concept.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form version="1.1"&amp;gt;
  &amp;lt;label&amp;gt;Sample Dropdown Selector&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="select"&amp;gt;
      &amp;lt;label&amp;gt;select&amp;lt;/label&amp;gt;
      &amp;lt;choice value="All"&amp;gt;All&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="Table"&amp;gt;Table&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="Single"&amp;gt;Single&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="Graph"&amp;gt;Graph&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="None"&amp;gt;None&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;None&amp;lt;/default&amp;gt;
      &amp;lt;initialValue&amp;gt;None&amp;lt;/initialValue&amp;gt;
&amp;lt;change&amp;gt;
&amp;lt;condition value="All"&amp;gt;
&amp;lt;set token="Table"&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;set token="Graph"&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;set token="Single"&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition value="Table"&amp;gt;
&amp;lt;unset token="Single"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;unset token="Graph"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;set token="Table"&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition value="Graph"&amp;gt;
&amp;lt;unset token="Table"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;unset token="Single"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;set token="Graph"&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition value="Single"&amp;gt;
&amp;lt;unset token="Table"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;set token="Single"&amp;gt;&amp;lt;/set&amp;gt;
&amp;lt;unset token="Graph"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition value="None"&amp;gt;
&amp;lt;unset token="Table"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;unset token="Single"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;unset token="Graph"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel depends="$Table$"&amp;gt;
      &amp;lt;title&amp;gt;Table&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=10 | streamstats count | eval title="Item "+count&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;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$Single$"&amp;gt;
      &amp;lt;title&amp;gt;Single&amp;lt;/title&amp;gt;
      &amp;lt;single&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=10 | streamstats count&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;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$Graph$"&amp;gt;
      &amp;lt;title&amp;gt;Graph&amp;lt;/title&amp;gt;
      &amp;lt;chart&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults count=10 | streamstats count&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;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 01:50:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634497#M52006</guid>
      <dc:creator>michael_bates_1</dc:creator>
      <dc:date>2023-03-15T01:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to dynamically show/hide a dashboard panel based on drop-down selection?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634511#M52007</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/254780"&gt;@iegus&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;the answer from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/3686"&gt;@michael_bates_1&lt;/a&gt;&amp;nbsp;is correct,&lt;/P&gt;&lt;P&gt;in addition, you could see in the Splunk Dashboard Examples app (&lt;A href="https://splunkbase.splunk.com/app/1603" target="_blank"&gt;https://splunkbase.splunk.com/app/1603&lt;/A&gt;) where you can find an example and the description about your requirement.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 05:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634511#M52007</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-03-15T05:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to dynamically show/hide a dashboard panel based on drop-down selection?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634514#M52008</link>
      <description>&lt;P&gt;There are a couple of issues with your existing statements in that you are using $value$ in the condition and looking for "Todos", which is actually $label$ and not the value, which you have set to&amp;nbsp;&lt;STRONG&gt;*&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;It's not clear if you need the $Select$ token for the input to be the value of the input, but on the basis that you are using the $Select$ token elsewhere, you can get rid of the condition statements and use a simple set of eval statements for your token setters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example below only needs 2 &amp;lt;eval&amp;gt; token statements to set the pane dependent tokens. Setting a token to&amp;nbsp;&lt;STRONG&gt;null()&lt;/STRONG&gt; is the same as unsetting it, so you don't need &amp;lt;condition&amp;gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note the use of&amp;nbsp;&lt;STRONG&gt;$value$&lt;/STRONG&gt; and &lt;STRONG&gt;$label$&amp;nbsp;&lt;/STRONG&gt;in the eval as it's tricky to compare a value of "*" which is the value of the &lt;STRONG&gt;Todos&lt;/STRONG&gt; option.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form&amp;gt;
  &amp;lt;label&amp;gt;tmp11&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;input type="dropdown" token="Select"&amp;gt;
      &amp;lt;label&amp;gt;Select&amp;lt;/label&amp;gt;
      &amp;lt;choice value="*"&amp;gt;Todos&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="Tabela"&amp;gt;Tabela&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="Gráfico"&amp;gt;Gráfico&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;Todos&amp;lt;/default&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;eval token="Tabela"&amp;gt;if($value$="Tabela" OR $label$="Todos", "", null())&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="Gráfico"&amp;gt;if($value$="Gráfico" OR $label$="Todos", "", null())&amp;lt;/eval&amp;gt;
      &amp;lt;/change&amp;gt;
      &amp;lt;/input&amp;gt;      
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$Gráfico$"&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;h1&amp;gt;Gráfico&amp;lt;/h1&amp;gt;
        &amp;lt;p&amp;gt;Select token is $Select$&amp;lt;/p&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;panel depends="$Tabela$"&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;h1&amp;gt;Tabela&amp;lt;/h1&amp;gt;
        &amp;lt;p&amp;gt;Select token is $Select$&amp;lt;/p&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 06:22:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/unreadable-title/m-p/634514#M52008</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-15T06:22:45Z</dc:date>
    </item>
  </channel>
</rss>

