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
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...