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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...