Splunk Answers-a-thon!

How can I use HTML and CSS to customize Splunk dashboards?

yeasuh
Community Manager
Community Manager

How can I use HTML and CSS to customize Splunk dashboards?

0 Karma

jeffland
SplunkTrust
SplunkTrust

A very simple option is to use inline html. It allows you to add html elements to your Simple XML dashboards, e.g. for  help texts or other custom objects.

Previous Splunk versions used to have HTML dashboards, but they were deprecated. You should check out splunk dashboard studio for the intended follow up solution.

CSS can also be applied inline in HTML style tags. The proper method is to use the stylesheet attribute of the dashboard / form tag and refer to a stylesheet file. Find moredetails here: https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/UseCSS

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...