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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...