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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

New This Month - Observability Updates Give Extended Visibility and Improve User ...

This month is a collection of special news! From Magic Quadrant updates to AppDynamics integrations to ...

Intro to Splunk Synthetic Monitoring

In our last post, we mentioned that the 3 key pieces of observability – metrics, logs, and traces – provide ...