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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...