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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...