<?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: SPLUNK DROP_DOWN BOXES DOES NOT CHANGE  CORRECTLY in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390245#M40674</link>
    <description>&lt;P&gt;@HenryFitzerald,&lt;/P&gt;

&lt;P&gt;Tried the same XML and it works as expected. These are the sequence of events I performed and got these results. &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6104i8D03B23F774B22C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 11 Nov 2018 05:55:44 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2018-11-11T05:55:44Z</dc:date>
    <item>
      <title>SPLUNK DROP_DOWN BOXES DOES NOT CHANGE  CORRECTLY</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390244#M40673</link>
      <description>&lt;P&gt;Hi,Could anyone please assist. Two drop down boxes one-&amp;gt;many structure but&lt;BR /&gt;&lt;BR /&gt;
first drop down does not change its value it stays the same at default value&lt;BR /&gt;
when you attempt to change to others.  Please look at the UserInterface text &lt;BR /&gt;
"your base search here | lookup fd_gmm_pla_microservice_map" .&lt;BR /&gt;
Has to change correctly for a code lookup query.&lt;/P&gt;

&lt;P&gt;Code is as  "Service Family" -&amp;gt; "Feature Family"&lt;BR /&gt;
              [One -&amp;gt; Many RelationShip]&lt;/P&gt;

&lt;P&gt;Service Families (GMM,HWBT,EDH,PWS)&lt;BR /&gt;
Each has features as:-&lt;BR /&gt;
GMM-&amp;gt;(CCA,CIA,REG)&lt;BR /&gt;
HWBT-&amp;gt;(PLA)&lt;BR /&gt;
EDH-&amp;gt;(MANACCS,STMT,ACTS)&lt;BR /&gt;
PWS-&amp;gt;(ALL)&lt;/P&gt;

&lt;P&gt;It defaults to GMM .&lt;BR /&gt;
      &lt;DEFAULT&gt;GMM&lt;/DEFAULT&gt;&lt;BR /&gt;
      &lt;INITIALVALUE&gt;GMM&lt;/INITIALVALUE&gt;&lt;/P&gt;

&lt;P&gt;When you move to second  service family "HWBT" after testing  first service family&lt;BR /&gt;
"GMM" and all its options "CCA,CIA,REG"&lt;BR /&gt;
the service family stays at "GMM" so you end up with "GMM-&amp;gt;PLA" instead of "HWBT"-&amp;gt;"PLA"&lt;BR /&gt;
and same for EDH still has value "GMM".&lt;BR /&gt;
When you look at UI you see  "lookup fd_gmm_pla_microservice_map" instead of "lookup fd_hwbt_pla_microservice_map"&lt;/P&gt;

&lt;P&gt;Tried a few things I was not sure to change default to All *.  and searchWhenChanged="true"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;
but  unable to change the "Service_family" properly to work properly.&lt;/P&gt;

&lt;H2&gt;Could anyone please advice.Thanks .Code is below&lt;/H2&gt;

&lt;P&gt;FD TEST -EVENTS Clone&lt;BR /&gt;
  Shows PCF-Container events for FD-APIS.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="time" token="master_time_span"&amp;gt;
  &amp;lt;label&amp;gt;Chart time span&amp;lt;/label&amp;gt;
  &amp;lt;default&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;/default&amp;gt;
&amp;lt;/input&amp;gt;
&amp;lt;input type="dropdown" token="service_family_tok"&amp;gt;
  &amp;lt;label&amp;gt;Choose Service Family:&amp;lt;/label&amp;gt;
  &amp;lt;choice value="GMM"&amp;gt;GMM&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="HWBT"&amp;gt;HWBT&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="EDH"&amp;gt;EDH&amp;lt;/choice&amp;gt;
  &amp;lt;choice value="PWS"&amp;gt;PWS&amp;lt;/choice&amp;gt;
  &amp;lt;default&amp;gt;GMM&amp;lt;/default&amp;gt;
  &amp;lt;initialValue&amp;gt;GMM&amp;lt;/initialValue&amp;gt;
  &amp;lt;change&amp;gt;
    &amp;lt;condition value="GMM"&amp;gt;
      &amp;lt;set token="feature_values"&amp;gt;CCA,CIA,REG&amp;lt;/set&amp;gt;
      &amp;lt;unset token="form.enter_feature_tok"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
    &amp;lt;condition value="EDH"&amp;gt;
      &amp;lt;set token="feature_values"&amp;gt;MANACCS,INBOX,STMT,ACTS&amp;lt;/set&amp;gt;
      &amp;lt;unset token="form.enter_feature_tok"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;

    &amp;lt;condition value="HWBT"&amp;gt;
      &amp;lt;set token="feature_values"&amp;gt;PLA&amp;lt;/set&amp;gt;
      &amp;lt;unset token="form.enter_feature_tok"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
    &amp;lt;condition value="PWS"&amp;gt;
      &amp;lt;set token="feature_values"&amp;gt;ALL&amp;lt;/set&amp;gt;
      &amp;lt;unset token="form.enter_feature_tok"&amp;gt;&amp;lt;/unset&amp;gt;
    &amp;lt;/condition&amp;gt;
  &amp;lt;/change&amp;gt;
&amp;lt;/input&amp;gt;
&amp;lt;input type="dropdown" token="enter_feature_tok"&amp;gt;
  &amp;lt;label&amp;gt;Choose Feature:&amp;lt;/label&amp;gt;
  &amp;lt;fieldForLabel&amp;gt;feature&amp;lt;/fieldForLabel&amp;gt;
  &amp;lt;fieldForValue&amp;gt;feature&amp;lt;/fieldForValue&amp;gt;
  &amp;lt;search&amp;gt;
    &amp;lt;query&amp;gt;|makeresults|eval feature="$feature_values$"|makemv feature delim=","|mvexpand feature&amp;lt;/query&amp;gt;
    &amp;lt;earliest&amp;gt;-1s@s&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/search&amp;gt;
  &amp;lt;change&amp;gt;
    &amp;lt;eval token="l_service_family_tok"&amp;gt;lower($service_family_tok$)&amp;lt;/eval&amp;gt;
    &amp;lt;eval token="l_enter_feature_tok"&amp;gt;lower($value$)&amp;lt;/eval&amp;gt;
  &amp;lt;/change&amp;gt;
&amp;lt;/input&amp;gt;


&amp;lt;panel&amp;gt;
  &amp;lt;title&amp;gt;This html part is just to print the tokens and can be removed&amp;lt;/title&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;h2&amp;gt; Here is an example of LOOKUP filename for $service_family_tok$ AND $enter_feature_tok$ &amp;lt;/h2&amp;gt;
    &amp;lt;h1&amp;gt; "your base search here" | lookup fd_$l_service_family_tok$_$l_enter_feature_tok$_microservice_map  "your lookup terms"   &amp;lt;/h1&amp;gt;
  &amp;lt;/html&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:02:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390244#M40673</guid>
      <dc:creator>HenryFitzerald</dc:creator>
      <dc:date>2020-09-29T22:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: SPLUNK DROP_DOWN BOXES DOES NOT CHANGE  CORRECTLY</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390245#M40674</link>
      <description>&lt;P&gt;@HenryFitzerald,&lt;/P&gt;

&lt;P&gt;Tried the same XML and it works as expected. These are the sequence of events I performed and got these results. &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/6104i8D03B23F774B22C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 05:55:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390245#M40674</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-11-11T05:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: SPLUNK DROP_DOWN BOXES DOES NOT CHANGE  CORRECTLY</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390246#M40675</link>
      <description>&lt;P&gt;Hi Renjith, Thanks for reply , I was having problems at this end the service family was not changing but retained the GMM when for example changed to HWBT but feature changed to PLA and code rejected saying fd_gmm_pla_microservice_map does not exist.&lt;BR /&gt;
 But I added the  to the service_family drop down as =&amp;gt;   and it seemed to work fine afterwards. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:57:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390246#M40675</guid>
      <dc:creator>HenryFitzerald</dc:creator>
      <dc:date>2020-09-29T21:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: SPLUNK DROP_DOWN BOXES DOES NOT CHANGE  CORRECTLY</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390247#M40676</link>
      <description>&lt;P&gt;Hi Renjith, Thanks for reply , I was having problems at this end the service family was not changing but retained the GMM when for example changed to HWBT but feature changed to PLA and code rejected saying fd_gmm_pla_microservice_map does not exist.&lt;BR /&gt;
 But I added the  to the service_family drop down as =&amp;gt;   and it seemed to work fine afterwards. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:57:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390247#M40676</guid>
      <dc:creator>HenryFitzerald</dc:creator>
      <dc:date>2020-09-29T21:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: SPLUNK DROP_DOWN BOXES DOES NOT CHANGE  CORRECTLY</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390248#M40677</link>
      <description>&lt;P&gt;It's working in this simple dashboard xml but for your case, there might be some other elements which uses the same token and not getting updated before the actual search runs. By the way what did you add to the service_family  dropdown? &lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 14:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390248#M40677</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-11-11T14:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: SPLUNK DROP_DOWN BOXES DOES NOT CHANGE  CORRECTLY</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390249#M40678</link>
      <description>&lt;P&gt;Added &lt;STRONG&gt;"searchWhenChanged="true"&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;
Not sure why it did not show on previous post &lt;/P&gt;

&lt;P&gt;Was thinking of also adding to feature family to test.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 16:05:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390249#M40678</guid>
      <dc:creator>HenryFitzerald</dc:creator>
      <dc:date>2018-11-11T16:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: SPLUNK DROP_DOWN BOXES DOES NOT CHANGE  CORRECTLY</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390250#M40679</link>
      <description>&lt;P&gt;added to service_family&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 16:06:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/SPLUNK-DROP-DOWN-BOXES-DOES-NOT-CHANGE-CORRECTLY/m-p/390250#M40679</guid>
      <dc:creator>HenryFitzerald</dc:creator>
      <dc:date>2018-11-11T16:06:47Z</dc:date>
    </item>
  </channel>
</rss>

