Dashboards & Visualizations

How to set and unset drilldown in Splunk Js?

Jhanzkie
Path Finder

Hello,
Sorry again for beginner question.

I want to add drilldown in my TableView that when i click a cell in Table A it will show Table B.
Also, If I click a cell in Table B it will hide.

Jhanzkie_0-1647396773627.png

Jhanzkie_1-1647396801102.png


I want to check how it is done in Splunk Js.

Thank you

Labels (2)
Tags (2)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

Do you need to do it in JS or is doing it inside the XML OK?

In XML it's simply

<panel>
...
  <drilldown>
    <set token="component">$row.component$</set>
  </drilldown>
</panel>
...
<panel depends="$component$>
... second panel
  <drilldown>
    <unset token="component"></unset>
  </drilldown>
</panel>

Jhanzkie
Path Finder

Hello thank you for your response.

Yes i wanna see it in Js 🙂 .

0 Karma
Get Updates on the Splunk Community!

Improve Your Security Posture

Watch NowImprove Your Security PostureCustomers are at the center of everything we do at Splunk and security ...

Maximize the Value from Microsoft Defender with Splunk

 Watch NowJoin Splunk and Sens Consulting for this Security Edition Tech TalkWho should attend:  Security ...

This Week's Community Digest - Splunk Community Happenings [6.27.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...