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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...