Dashboards & Visualizations

How to auto collapse panel in dashboard

Builder

Hello guys,

how do you auto collapse panel if no result is found (see attached)?

Thanks.alt text

0 Karma
1 Solution

Super Champion

try adding this in the search node in the simple xml of your panel. use depends="$hide$" in the panel node:

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

View solution in original post

Super Champion

try adding this in the search node in the simple xml of your panel. use depends="$hide$" in the panel node:

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

View solution in original post

Don’t Miss Global Splunk
User Groups Week!

Free LIVE events worldwide 2/8-2/12
Connect, learn, and collect rad prizes
and swag!