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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...