Splunk Search

Dashboard

uagraw01
Motivator

 

 i want add Radio button in which i want setting that when i will select MFG host it will show all MFG host result and when i will select MSSQL host it will show only MSSQl result and hide the MFG host result. Please help out for this setting

IMG_20201021_160913.jpg

Tags (1)
0 Karma

kennetkline
Path Finder

Hello,

I understand you have two dropdown boxes;  

1.  MFG hosts (default all,  I assume behind the scenes you have a query that provides the list of the hosts that are MFG related.  I assume you have a query likewise for the MQSQL dropdown.

Then the Panel has the MSG hosts.  I really can't see going through work to try to hide unhide panels.  Depending on the querys used and if you can attach a sample source for the dashboard would help.

I would recommend the following approach:

if a single search that can be run to list all hosts both mysql/msg with a flag where you can set a variable say host_type or something.  then you could do a dropy down with static values for MSG and MySql set a variable $host_type$ .  Then the host dropdown has static all and will then filter to either MSG or Mysql based in where host_type=$host_type$

Then your panel would simply be called Hosts,  and same clause to list out any matching data using same type of filter where cluase host_type=$host_type$ to do something more.

I have shy'd away of doing radio buttons; and stick to drop down as layouts just don't look clean.

Hope this helps; if can post the source maybe can work it up and get you solved.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...