Dashboards & Visualizations

How to set background color for a dashboard?

xinlux01
Engager

Is there a way to set background color for a dashboard? Should this be controlled from a CSS file? If yes, which field should I modify? Thanks.

Tags (3)

vivekriyer
Explorer

Hi,
a. Write a new css called "dashboard-extended.css" and put the following snippet inside it

@import  'dashboard.css'
#dashboard{
background-color:;
}

b. copy this file to your SPLUNK_HOME/etc/apps/search/appserver/static folder.
c. Go to your browser and hit the url http://: /en-US/debug/refresh. Click the refresh button.
d. Go to dashboard page and do a Ctrl+F5 ,for full reload . You should see the changes.

paddygriffin
Path Finder

It's a two-step process - you have to first create a CSS file for your custom appearance, then reference that CSS file in the XML of your dashboard. Here are some useful links which will help you tie it together and also get information on other customization options
Customizing dashboards and custom stylesheets: http://docs.splunk.com/Documentation/Splunk/6.1.3/Viz/CustomizeSimpleXML#Custom_stylesheet
Simple XML reference: http://docs.splunk.com/Documentation/Splunk/6.1.3/Viz/PanelreferenceforSimplifiedXML#dashboard
Dashboard examples app: http://apps.splunk.com/app/1603/ - this is a great resource for any customizations you may want to do.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...