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!

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...