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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...