Dashboards & Visualizations

How to switch between prebult panel and dynamically searched panel based on input

sangs8788
Communicator

Hi
I am trying to create a dashboard which by default/pn load shows prebuilt panel in one row. And i have set of input fields added, say a dropdown added to the dashboard. Based on the value of dropdown the prebuilt dashboard should hide and panel created inside the dashboard should get displayed. How can i switch between prebuilt panel and the dashboard panel based on the input passed ? Could someone please let me know ?

Tags (1)
0 Karma
1 Solution

rjthibod
Champion

Look at how this answer does it. This is exactly the kind of thing they have done. Basically, you define tokens on the change events for the dropdown, and then you use depends on either the panel or row elements you want to toggle.

https://answers.splunk.com/answers/397900/why-am-i-unable-to-showhide-a-panel-based-on-drop.html

View solution in original post

rjthibod
Champion

Look at how this answer does it. This is exactly the kind of thing they have done. Basically, you define tokens on the change events for the dropdown, and then you use depends on either the panel or row elements you want to toggle.

https://answers.splunk.com/answers/397900/why-am-i-unable-to-showhide-a-panel-based-on-drop.html

sangs8788
Communicator

Thanks. That worked.

0 Karma
Get Updates on the Splunk Community!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...