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!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...