Dashboards & Visualizations

drilldown option - Can I disable drilldown option for certain rows in a table?

HattrickNZ
Motivator

If I have a table with drill down enabled, can i disable the drill down on the last row

Example of my table. where rows 1 - 3 (A,b and C) can be clicked and this then uses a token to open up a chart below it.
But i don't want the last row to do anything when clicked on (e.g. the Aggregate View row here)

object Val1 Val2 
A 1 2 
B 1 2 
C 1 2 
Aggregate View 3 6 
Labels (1)
Tags (3)
0 Karma

niketn
Legend

@HattrickNZ, if you are on Splunk 6.5 or higher, you can enable Summary Row using table which shows Total as the final row in the table: https://docs.splunk.com/Documentation/Splunk/latest/Viz/TableFormatsFormatting#Totals_summary_row

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

maityayan1996
Path Finder
    <condition match="NOT match('row.object, &quot;Aggregate View&quot;)">
      <set token="new_token">$row.object$</set>
    </condition>
    <condition match="match('row.object', &quot;Aggregate View&quot;)">
      <unset token="new_token">$row.object$</unset>
    </condition>
    </drilldown>

Hi Hattrick, You can use this code in your dashboard.

0 Karma

maityayan1996
Path Finder

Please close this question if your issue had been solved.

0 Karma

somesoni2
Revered Legend
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...