Dashboards & Visualizations

How to hide a dashboard panel containing inputs that are used for a drilldown report?

pepper_seattle
Path Finder

I've got a drilldown report dependent on another report in my dashboard which contains inputs for time that appear both when the report has been produced and before the report is produced. When the report isn't visible they appear as a panel with just the inputs visible.

Is there any way to make the inputs hidden the same way my drilldown report is hidden?
Having those floating inputs mid-dashboard looks a bit odd and confusing to other users.

Without the drilldown report:
http://puu.sh/gmcv7/31c6ef192c.png

0 Karma
1 Solution

BenTan
Path Finder

Hi,

To solve this issue, just add the "depends" parameter on the panel tag instead of the visualization tag. For example if you are creating a panel for a table:

    <panel depends="$tDateAndTime$">
      <title>ABC</title>
      <input type="text" token="comment">
        <label>Comment</label>
      </input>
      <table>
        ....
      </table>

It will then hide the entire table until the token is being passed down.

Hope it helps!

View solution in original post

BenTan
Path Finder

Hi,

To solve this issue, just add the "depends" parameter on the panel tag instead of the visualization tag. For example if you are creating a panel for a table:

    <panel depends="$tDateAndTime$">
      <title>ABC</title>
      <input type="text" token="comment">
        <label>Comment</label>
      </input>
      <table>
        ....
      </table>

It will then hide the entire table until the token is being passed down.

Hope it helps!

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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