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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...