Dashboards & Visualizations

How to close a drilldown panel in dashboard without refresh?

abhijitnath89
Path Finder

We have a drilldown dashboard, where one more panel appears after we click a value of the first panel ( used tokens).
Now after we have viewed the additional panel produced, how can we close that drilldown panel to have only the first panel in the dashboard?

Tags (1)
1 Solution

woodcock
Esteemed Legend

You need to have some other action (a click somewhere else or when the 'Submit' button is pressed) unset the token that causes the other panel to open. You could even create a new button to do this.

View solution in original post

woodcock
Esteemed Legend

You need to have some other action (a click somewhere else or when the 'Submit' button is pressed) unset the token that causes the other panel to open. You could even create a new button to do this.

BernardEAI
Communicator

Thanks @woodcock 

Any idea how the "click somewhere else" option would work?

0 Karma

abhijitnath89
Path Finder

Thanks a lot, it worked like a wonder. I used the below format

     <choice value="1">Close Drilldown</choice>
     <default></default>

     <change>
       <condition value="1">
         <unset token="searchWhenChanged"></unset>
       </condition>
     </change>
   </input>

cmerriman
Super Champion

Would a 'Reset Drilldown' button work?

 <row>
    <panel>
      <html>
         <button class="btn" data-token-json="{ &quot;drilldownToken&quot;: null}">Reset Drilldown</button>
      </html>
    </panel>
  </row>
0 Karma

logloganathan
Motivator

when i click on reset drilldown..nothing happens

0 Karma

adayton20
Contributor

Is it possible to provide the xml config?

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...