Splunk Enterprise

How to get the name/label of the option selected in a radio in Dashboard Studio?

Day
Engager

Hi, 

I'll explain myself better with an example:

I have the following values in radio (input):

Name -> Value

MB ->1024/1024
GB ->1024/1024/1024

(...)

with the $token_name$ I can use the selected value in my search, but I would also like to use the name/label of the selected size to use in the chart legend.

Is it possible to do this in Dashboard Studio?

thanks in advance for your help 😃

 

Labels (1)
Tags (3)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

Not sure of how dashboard studio does it, but in Simple XML when you select a value in a radio, the $label$ token is set to the label, so you can use a <change> block to assign that to a token - maybe there is something similar in DS

Get Updates on the Splunk Community!

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...