Dashboards & Visualizations

How to apply table drilldown in the same page using a field value option?

skender27
Contributor

Hi,

I am trying to apply drilldown in a form where a dashboard panel drills down to another one (in the same page). The original panel is a table and the drilldown would be a cell drilldown type.
I wrote the XML in this way:

<drilldown>
          <set token="drill_token">$click.value$</set>
        </drilldown>

So the value of the field clicked applies to the search in the appearing dashboard panel (table).
An suggestions about the option $click.value$ or other I should use?

Thanks,
Skender

0 Karma
1 Solution

jeffland
SplunkTrust
SplunkTrust

$click.value$ will give you the value of the leftmost cell in the clicked row. You probably want to use $click.value2$, which returns the value of the clicked cell. See here for docs.

View solution in original post

jeffland
SplunkTrust
SplunkTrust

$click.value$ will give you the value of the leftmost cell in the clicked row. You probably want to use $click.value2$, which returns the value of the clicked cell. See here for docs.

skender27
Contributor

Thanks a lot jeffland.
Now it works. In fact, I put the combined field date_month." ".date_year in the first column and now I get the right drilldown below the panel.

Thanks a have a nice day,
Skender

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...