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
Get Updates on the Splunk Community!

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...