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?

 

Labels (1)
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
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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