Dashboards & Visualizations

How to change the background color of the data series tooltip in a timechart?

rjthibod
Champion

The background color of the Splunk Web timechart tooltip is all black. Depending on the data series color, it is very hard to read the data series' name in the tooltip. Is there some way in CSS or SimpleXML to control the background color of the tooltip so that I could lighten it up.

No AdvancedXML. JS extensions are fine, but CSS and SimpleXML are preferred. Assume Splunk Enterprise 6.2 or newer. Assume that the default data series colors are going to be used, i.e., I am not going to generate a custom set of series colors for all of my dashboards.

jkat54
SplunkTrust
SplunkTrust

Open the site in chrome, inspect the element in question, take note of the class of the div/etc, then either change it in chrome for temporary fixes, or for permanent fixes, edit the correct css in the app you're in. It might help to search for all css files and then search for the div/style/class within those css files using a tool like find and replace, https://sourceforge.net/projects/findandreplace/

0 Karma

rjthibod
Champion

I have inspected it in Chrome and FF. It is not very clear what to change because it looks like the tooltip background is defined under a [path] class/object, which is not something I have seen before. I am not a CSS expert, but I have been making plenty of other changes for more standard div types without issues. This case looks a little more abnormal.

0 Karma

rjthibod
Champion

It looks like .highcharts-tooltip span is part of the solution but not all of it. Any help from the Splunk Web team would be helpful.

I imagine other people want to change the background of the tooltip as well.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...