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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...