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

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...