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!

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...