Reporting

How to Call different saved search on radio button click

ma_anand1984
Contributor

I want to have two radio buttons say A and B. I want to call saved search A1 when radio A is selected and B1 when B is selected.

Can some one help?

0 Karma
1 Solution

MHibbin
Influencer

Hi,

You will need to look at the "Switcher Modules" (using advanced XML), with these you have options (links, tabs, pulldowns, etc.) to allow you to swtich between searches and visualisations.

The Documentation has a good demo here... http://docs.splunk.com/Documentation/Splunk/latest/Developer/UseSwitchers

The Module Reference should also be used (you can search for "switcher" in this reference)... http://docs.splunk.com/Documentation/Splunk/latest/Developer/ModuleReference

Hope this helps,

MHibbin

View solution in original post

MHibbin
Influencer

Hi,

You will need to look at the "Switcher Modules" (using advanced XML), with these you have options (links, tabs, pulldowns, etc.) to allow you to swtich between searches and visualisations.

The Documentation has a good demo here... http://docs.splunk.com/Documentation/Splunk/latest/Developer/UseSwitchers

The Module Reference should also be used (you can search for "switcher" in this reference)... http://docs.splunk.com/Documentation/Splunk/latest/Developer/ModuleReference

Hope this helps,

MHibbin

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...