Dashboards & Visualizations

Dynamic Drilldown view based on selected cell's column header value and corresponding row value(first column)

NathanAsh
Path Finder

Hi,

I wish to pass the values of $click.value$ and corresponding cell's header (dynamically generated in splunk query) values to the search query in creating the drilldown view of dashboard. Please let me know how to achieve that.

for example if the user clicks on the cell containing 100.00 value, I need to pass the channel name adp and header value of 304 to the search query 

adp can be achieved through $click.value$ , don't know for 304 (and its corresponding search field name) 

sp.JPG

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

$click.name2$ gives you the column (field) name where the user clicked.

$click.name$ $click.name2$
   
$click.value$ $click.value2$ (user clicked here)

View solution in original post

NathanAsh
Path Finder

Thanks for the help. One more clarification. Hope there is no and condition in the search operation. can I try like this

....query| search fieldname="$click.value$" | where fieldname2="$click.name2$"
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You could do that, but whether that makes sense depends on your search, the fields available and your data, which I am not in a position to comment on.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

$click.name2$ gives you the column (field) name where the user clicked.

$click.name$ $click.name2$
   
$click.value$ $click.value2$ (user clicked here)
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!

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 ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...