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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...