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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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 ...