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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...