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

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...