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!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...