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

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...