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?

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...