Dashboards & Visualizations

How to change the font size for a SINGLE VALUE panel?

maximusdm
Communicator

I am following the instructions from:
https://docs.splunk.com/Documentation/Splunk/6.5.1/AdvancedDev/UseCSS

without any luck. If I convert the Dashboard to HTML and use everything works but I need to use XML format.
Here is a screen shot of my TEST dashboard:

alt text

The Dashboard belongs to the ' search' application. Any ideas?
I also downloaded File Monitor for Windows so that I could monitor the file paths (files) that Splunk access. I just cannot see anything in my trace, for instance, an app accessing the file dashboard.css; This is so frustrating.

1 Solution

maximusdm
Communicator
0 Karma

sbbadri
Motivator

Convert your dashboard to html and add below &lt/heade&gt

&ltstyle&gt
.single-value .single-result {
font-size: 1000px !important;
}
&lt/style&gt

maximusdm
Communicator
0 Karma

maximusdm
Communicator

not sure what happened but it is working now. I even restarted Splunk many times without any change but something happened that this thing is working now.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...