Dashboards & Visualizations

How to Make a panel disappear when "Search is awaiting input..."

valadasr
Explorer

Hello guys,

I've got a dashboard in which it has two hidden panels depending on a textbox.

When the textbox is empty, the panels won't show, as expected. When i add values into it, the panels appear, also as expected.

However, if i take those values out of that multiselect then the panels won't disappear and will display the "waiting for input".

This is what i've got primarily to hide / unhide the panels:

  <progress>
      <condition match="'job.resultCount' > 0">
      <set token="show_summary">true</set>
</condition>
<condition>
<unset token="show_summary"/>
  </condition>
</progress> 
      <set token="show_summary">true</set>

Is there any event handler to deal with this in a condition match or something?
e.g.

(...)  
<progress>
      <condition match="'job.Awaitinginput' == 1">
         <set token="show_summary">true</set>
</condition>
(...)
0 Karma

vnravikumar
Champion

Hi

If possible, can you share your dashboard code?

0 Karma

valadasr
Explorer

Well, not right now. We have made some changes and that has prevented the panels from showing again. However i was curious if there was any mention of this event type in xml or not. Is there any event for checking if the panel is awaiting input?

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...