Dashboards & Visualizations

Hide and show panels on button click

test4u
Path Finder

Hi all,
I know how to hide and show panels using link switcher and radio buttons.
but if there is a html button and we have two two map in a single panel namely->map1,map2
if button is clicked map2 should be displayed otherwise map1 should be displayed.

How to achieve this.
Kindly help

Tags (1)
0 Karma
1 Solution

niketn
Legend

@test4u please check out one of my older answer around similar use case. Do read updated comments as well... As per requested change in the requirements.

https://answers.splunk.com/answers/581652/how-can-i-create-a-button-switcher.html

Please try out and confirm.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@test4u please check out one of my older answer around similar use case. Do read updated comments as well... As per requested change in the requirements.

https://answers.splunk.com/answers/581652/how-can-i-create-a-button-switcher.html

Please try out and confirm.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...