Custom look and feel
In this section, you %will learn how to use custom CSS and JS to customize the look and feel of Splunk dashboards. In the previous topics and chapter, we used CSS and JS to customize the functionality of the dashboard. In this section, we will modify the look and feel (aesthetics) of the Splunk dashboard.
The Splunk dashboard has its predefined stylesheets, which are automatically applied on any new dashboards %created in Splunk. You will now learn how to override the default stylesheet behavior with your own custom CSS file.
Example and implementation
The following steps are% required to use custom CSS file on any% dashboard XML page:
- Create a CSS file (say,
layout.css
) at$SPLUNK_HOME$\etc\apps\app_name\appserver\static
. - Go to ...
Get Splunk: Enterprise Operational Intelligence Delivered now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.