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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...