Dashboards & Visualizations

Can tooltip be used on Splunk table headers?

nilaksh92
Path Finder

Hi Everyone,

I want to use tooltip/ mouse hover on splunk table headers.

eg:- ...|table abc

Whenever I hover on field name(abc), it should show Nikks Mahajan.

Thanks
Nikks

Tags (3)
0 Karma

Chinmai
Explorer

Did you get answer to this?

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@nilaksh92,

Simplest solution is to give id to your table (my_table_id) and add very small javascript with below content:

$("#my_table_id table th a").attr("title","This is table header");

Above will add same tooltip to all the columns but you can make jquery to make specific selection.

Hope this helps!!!

0 Karma

cblanton
Communicator

For me the text would be static per table field and the fields are fixed in this case. Thanks for any help!

0 Karma

niketn
Legend

You can refer to the following blog. You will have to put in your own JavaScript to apply only for Table Header.

https://www.splunk.com/blog/2014/01/29/add-a-tooltip-to-simple-xml-tables-with-bootstrap-and-a-custo...

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

nilaksh92
Path Finder

Hi

Thanks for your valuable suggestions.

As this is only for the cell values, can we do for the field labels?

Thanks
Nikks

0 Karma

cblanton
Communicator

Did you ever find a solution for this?

0 Karma

niketn
Legend

@nilaksh92 @cblanton is the tooltip text static tooltip or would it be based on the table header. Please add some example of what the table header might be and accordingly what kind of Tooltip text need to be displayed.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...