Splunk Enterprise

help to retrieve the generic name of a dropdown list

jip31
Motivator

Hello

I use a dropdown list in my dashboard like this

 

<input type="dropdown" token="web_domain" searchWhenChanged="true"><choice value="*www.colis.fr*">Colis</choice>

 

And I retrieve the token in my title panel like this

 

<panel>
      <title>Application $web_domain$ - Evolution moyenne des appels</title>

 

Instead the $web_domain$ , I would like to retrieve the generic name of the $web_domain$, it means that instead displaying "www.colis.fr" I would like to retrieve onlis "Colis"

How to do this please?

 

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

You can set another token with label of the selected value in the dropdown. See example here:

https://docs.splunk.com/Documentation/Splunk/8.2.2/Viz/tokens#Access_labels_and_values_of_form_input...

View solution in original post

0 Karma

somesoni2
Revered Legend

You can set another token with label of the selected value in the dropdown. See example here:

https://docs.splunk.com/Documentation/Splunk/8.2.2/Viz/tokens#Access_labels_and_values_of_form_input...

0 Karma

jip31
Motivator

thanks it works fine now

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...