Dashboards & Visualizations

How to reveal a second panel based on user input?

splunkrocks2014
Communicator

Hi. I have a dashboard with a textbox that allows users to search a specific host or IP which is set to "" by default. Due to the limitation from max result from a subsearch, I am unable to get all the results from the default value. I want to create two different panels (panel A and B) with different search queries: When the users input "" only from the textbox, it shows "panel A", and "panel B" is hidden; otherwise, it shows "panel B" and hides "panel A". Does anyone have any suggest how to handle this? Thanks.

0 Karma

DalJeanis
Legend

Basically, you are looking for depends and rejects on your panel.

http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/PanelreferenceforSimplifiedXML#panel

Choose your token, then use set/unset to determine whether the panel will appear.

http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/PanelreferenceforSimplifiedXML#set

0 Karma

Sukisen1981
Champion
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In September, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

New in Observability - Improvements to Custom Metrics SLOs, Log Observer Connect & ...

The latest enhancements to the Splunk observability portfolio deliver improved SLO management accuracy, better ...

Improve Data Pipelines Using Splunk Data Management

  Register Now   This Tech Talk will explore the pipeline management offerings Edge Processor and Ingest ...