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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...