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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...