Dashboards & Visualizations

How to select multiple click.values in 1 table drill down?

bobendorfer
New Member

I am trying select multiple rows in a table using a drill down to populate another search panel. I have not been able to identify an answer on how to allow multiple click.values on a single table. Any ideas?

basic search:
index=mainsearch sourcetype=minniesearch
| fields thisone
| table thisone count
| sort -count

XML
drilldown
set token="word1">$click.value$
set token="word2">$click.value$
set token="word3">$click.value$
/drilldown

Passing tokens to this panel:

index=mainsearch sourcetype=minniesearch $word1$ $word2$ $word3$ 
0 Karma

tiagofbmm
Influencer

Hi

I believe you need to move to JavaScript to control that behaviour.
You can create a variable and then add each clicked value into that.

var drill = []
table.on("click", function(e) {
drill.push(e.data['row.value']);
}

In the end you;ll have the three values and you just need the other search you use to be reloaded using the search manager of that other panel (let's say its called panel_search)

panel_search.startSearch();

0 Karma

deepashri_123
Motivator

Hey bobendorfer,

You can use parameters as click.value, click.value2 and so on.
Hope this helps!!

0 Karma

bobendorfer
New Member

deepashri- the suggestion to set as click.value, click.value2 and so on does not work because they are not individual parameters.

I defined the below XML which returns the same result for click.value and click.value2.

Example: Select up to 3 - $word1$ $word2$ and the result was... Select up to 3 - reset reset

      set token="word1">$click.value$</set>
      set token="word2">$click.value2$</set>
    /drilldown>
  /table>
/panel>

/row>
row>
panel depends="$show_panel$">
table>
title>Like Words- Select up to 3 - $word1$ $word2$

0 Karma
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!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...