Dashboards & Visualizations

Can I map a drop-down token to two different values in different panels?

michael_wong
Path Finder

Hello,

I have a dashboard using  static drop-down to mapping the value in multiple panels. Can I map a drop-down token to two different values in different panels?

For example: I have below drop-down token, A,B,C

And I want to given token value A in panel1 = A1, panel2=A2

given token value B in panel1 = B1, panel2=B2.

In short, it's mapping one static token into two different values in different panels.

Labels (2)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

No and yes - you can't map to more than one value, but you could use the change event handler to evaluate two tokens based on the value selected. Note that you can do this in Classic Dashboards, but I am not sure this feature is available in Studio yet.

0 Karma

michael_wong
Path Finder

Thanks for your reply. Yes, can use event handler, but it will quite complex as each token need to much on every panel. If I have 10 tokens and 6 panels. I will need to write 10*6 queries. Is there any effective way to achieve this? 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

If you need 60 tokens, you need 60 tokens.

Having said that, you could just have 10 tokens and let the panel find the part of the token that is relevant to it.

You might be able to put this into a macro to ensure consistency.

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...