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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

&#x1f5e3; You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...