Splunk Search

Is there a way to hide column in a table but still use it for drilldown in HTML Dashboards in Splunk 6

adityapavan18
Contributor

I have a scenario where I have a table panel
I would like to hide the last column of that table but still be able to pass value in that column to a drilldown.

I am trying this in splunk 6 HTML dashboards.

I tried using jquery and hide..but nothing seems to work

greatly appreciated if someone could help

Tags (2)

iKate
Builder

Much easier way is here in the first answer: https://answers.splunk.com/answers/204419/do-this-in-simple-xml.html

martin_mueller
SplunkTrust
SplunkTrust

This snipped of CSS should get you started:

div#id_of_your_panel th:last-child,
div#id_of_your_panel td:last-child {
  display: none;
}

It'll hide the last column from view, but you can still refer to it in drilldowns using $row.field_name$.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...