Splunk Search

Drilldown close button

akankshayadav
Path Finder

i have a table with multiple values, and on click of any of the value, an inline panel opens (using depends option) via drilldown.  now i want that panel to close on click of a button. But also, i need the action of drilldown to open on the click of tables data not on click of button. I just need a close button to close the panel after drilldown, the panel open action is perfect (i.e on click of table value).

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @akankshayadav,

I think that you have a condition in your secondary panel like

<table id="detail" depends="$my_field$">

so you have to add to your inputs (in the form header or in the panel):

    <input type="radio" token="resetTokens" searchWhenChanged="true">
      <label></label>
      <choice value="reset">Reset Inputs</choice>
      <choice value="retain">Retain</choice>
      <default>retain</default>
      <change>
        <condition value="reset">
          <unset token="my_field"></unset>
          <set token="resetTokens">retain</set>
        </condition>
      </change>
    </input>

If you share your dashbord, I could be more precise

Ciao.

Giuseppe

akankshayadav
Path Finder

akankshayadav_0-1622617706942.png

This is my dashboard panel code .Any help?

 

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @akankshayadav,

try to add my input to your dashboard replacing $my_field$ with $token_file$.

Ciao.

Giuseppe

akankshayadav
Path Finder

in which line should i add in my code?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @akankshayadav,

they are inputs, so you can put them between <fieldset> tags or inside a panel (between <title> and <table>).

Ciao.

Giuseppe

akankshayadav
Path Finder

Thanks a lot ! 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @akankshayadav,

if this answer solves your need, please, accept it for the other people of Community.

Ciao and happy splunking.

Giuseppe

P.S.: Karma Points are appreciated ;_)

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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...