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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...