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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...