Dashboards & Visualizations

How to set value from table to a list of checkboxes in Splunk dashboard?

sntos05
Loves-to-Learn Everything

image.png

I have table from on it when I click on edit button I'm taking value from that row and set to the filters above.

In case of checkbox I have 2 choices, if on one of the system and Bi Report has only one is selected, it's value get set in the filters above but if both system and Report is selected the filters not get set at all.

image.png

Any help appreciated.

 

Labels (1)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

Not sure about dashboard studio, but a checkbox value is a multivalue field, so if you want to set more than one value to the token it, at least in XML, would need to have a multivalue result.

e.g. in XML if your two values are 1 and 2, then this

<eval token="form.check">split("1,2",",")</eval>

will set the input form token "check" to an MV field containing 1 and 2 in the XML case, will turn on both checkboxes.

 

0 Karma

glc_slash_it
Path Finder

Hey!

You need to define a drilldown with conditional tokens. 

https://docs.splunk.com/Documentation/Splunk/9.0.4/Viz/tokens#Define_tokens_for_dynamic_drilldown

 

Also check this thread:

https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-multiple-tokens-using-quot-cond...

 

------------
If this was helpful, some karma would be appreciated.

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...