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!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...