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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...