<?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 set a condition match for a drop-down? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274151#M17313</link>
    <description>&lt;P&gt;In fact that does not work. It is like if the token has not been set it wont let it in.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Feb 2017 11:19:24 GMT</pubDate>
    <dc:creator>robertlynch2020</dc:creator>
    <dc:date>2017-02-06T11:19:24Z</dc:date>
    <item>
      <title>How to set a condition match for a drop-down?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274148#M17310</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I am looking to set a condition match for a drop-down, when a drop-down is selected the host_token is set [for the first time]. Then i want the condition match to pass and set the TPS_ON_ALL_PANELLS.&lt;/P&gt;

&lt;P&gt;The issue is: do i set the condition match to a * or something else to pick up any value of when the token is set? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;input type="dropdown" token="host_token" searchWhenChanged="true" rejects="$SHOW_HISTORICAL_ENVIRONMENTS$"&amp;gt;
      &amp;lt;label&amp;gt;Data Source:&amp;lt;/label&amp;gt;
      &amp;lt;search&amp;gt;
        &amp;lt;query&amp;gt;| metadata type=hosts index=mlc_live | fields host&amp;lt;/query&amp;gt;
        &amp;lt;earliest&amp;gt;-1months&amp;lt;/earliest&amp;gt;
        &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
      &amp;lt;/search&amp;gt;
      &amp;lt;default&amp;gt;-&amp;lt;/default&amp;gt;    
      &amp;lt;change&amp;gt;

    &amp;lt;condition match="$host_token$ == &amp;amp;quot;*&amp;amp;quot;"&amp;gt;
        &amp;lt;set token="TPS_ON_ALL_PANELLS"&amp;gt;true&amp;lt;/set&amp;gt;
      &amp;lt;/condition&amp;gt;
      &amp;lt;/change&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274148#M17310</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2020-09-29T12:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a condition match for a drop-down?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274149#M17311</link>
      <description>&lt;P&gt;Is it not setting at all currently?  Have you tried just the * character with out the escaped single quotes around it?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 08:43:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274149#M17311</guid>
      <dc:creator>briancronrath</dc:creator>
      <dc:date>2017-02-03T08:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a condition match for a drop-down?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274150#M17312</link>
      <description>&lt;P&gt;You'll likely want to do something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
&amp;lt;change&amp;gt;
 &amp;lt;condition value="*"&amp;gt;
   &amp;lt;set token="TPS_ON_ALL_PANELS"&amp;gt;true&amp;lt;/set&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;/change&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Feb 2017 16:27:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274150#M17312</guid>
      <dc:creator>Lamar</dc:creator>
      <dc:date>2017-02-03T16:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a condition match for a drop-down?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274151#M17313</link>
      <description>&lt;P&gt;In fact that does not work. It is like if the token has not been set it wont let it in.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2017 11:19:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274151#M17313</guid>
      <dc:creator>robertlynch2020</dc:creator>
      <dc:date>2017-02-06T11:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a condition match for a drop-down?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274152#M17314</link>
      <description>&lt;P&gt;What about &lt;CODE&gt;&amp;lt;condition label="All"&amp;gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 18:37:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274152#M17314</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-05-02T18:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a condition match for a drop-down?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274153#M17315</link>
      <description>&lt;P&gt;Maybe&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;change&amp;gt;
  &amp;lt;eval token="TPS_ON_ALL_PANELS"&amp;gt;if(value="*",true,false)&amp;lt;/eval&amp;gt;
&amp;lt;/change&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 May 2017 12:13:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-condition-match-for-a-drop-down/m-p/274153#M17315</guid>
      <dc:creator>knielsen</dc:creator>
      <dc:date>2017-05-03T12:13:22Z</dc:date>
    </item>
  </channel>
</rss>

