Dashboards & Visualizations

Can I dynamically connect a selected item in drop down to tab/button?

selination
New Member

Hi, 

Dashboard help is needed. I am attaching pictures. Please provide SPL. 

  1. I need to connect dynamically an item selected from the "Year OA Motives" drop-down to the tabs/buttons below (SPL needed). 
  2. By Clicking each tab will open up a table containing the corresponding data in a panel below the tabs (SPL neeeded).

Dashboard_SplunkCommunity.jpg

Regards,
Selina.

Labels (1)
0 Karma

selination
New Member

Thank you so much for your prompt reply, Giuseppe! 

How do I write the SPL to do that or put it in the source code?
How do I put it in the source code to populate those access controls?

Thanks.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @selination,

the token name arrives from the dashboard dropdown input.

The drilldown must be configured by GUI or by code.

please share the code of your dashboard, not all, only the input to use and one button sections.

Ciaol.

Giusepep

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @selination,

you have to pass the token from the dropdown to the drilldown links in each button.

In other words, if the token name is "year", to each drilldown link you have to add 

year=$year$

in other words, something like this:

<drilldown>
   <link>secondary_dashboard?year=$year$</link>
</drilldown>

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...