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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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