Splunk Answers-a-thon!

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

yeasuh
Splunk Employee
Splunk Employee

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!

Buttercup Games: Further Dashboarding Techniques (Part 2)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Index This | What is the next number in the series? 7,645 5,764 4,576…

February 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Buttercup Games: Further Dashboarding Techniques

Hello! We are excited to kick off a new series of blogs from SplunkTrust member ITWhisperer, who demonstrates ...