Dashboards & Visualizations

Font Size in Splunk 6.1.x

ng1p
Path Finder

This post below should answer my question but it doesn't work
http://answers.splunk.com/answering/107157/post.html

I'm trying to change the font size on my dashboard of just a single value display..

In my dashboard I am pointing at a css file the I created called "single.css" in ../apps/search/appserver/static as so:

Then in the single.css I have this one line:
.row-textinputheader .single-value .single-result { color:#FFF; font-size:42px !important; }

But this is not changing my font. What am I doing wrong?. Seems like for every version on Splunk the way to do this has changed. The above was reported as working in Splunk 6.0 but I'm using 6.1.3 and I wonder if something has changed again? Or am I doing this wrong?

Thanks for you help...

Tags (1)
0 Karma
1 Solution

davecroto
Splunk Employee
Splunk Employee

In /apps/search/appserver/static/single.css:

Do this:

.single-value .single-result {
color: #FF0000;
font-size: 50px !important;
vertical-align: -4px;
margin: 0px 6px;
}

Then in your xml. Do this:

     <dashboard stylesheet="single.css">
          <label>Single Value Dasboard</label>
......
    </dashboard>

View solution in original post

0 Karma

ng1p
Path Finder

Thanks Dave! That worked for me

0 Karma

davecroto
Splunk Employee
Splunk Employee

In /apps/search/appserver/static/single.css:

Do this:

.single-value .single-result {
color: #FF0000;
font-size: 50px !important;
vertical-align: -4px;
margin: 0px 6px;
}

Then in your xml. Do this:

     <dashboard stylesheet="single.css">
          <label>Single Value Dasboard</label>
......
    </dashboard>
0 Karma

sweetlile
Explorer

I tried this solution, in splunk 6.3 but it doesn't work at all 😕 any ideas?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...