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 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...