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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...