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

Labels (1)
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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...