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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...