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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...