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 ;_)

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 ...