Dashboards & Visualizations

Customize Dashboard Single Value (CSS)

kashz
Explorer

Hi, I'm looking to customize my dashboard.

I'm just wondering whether how is this dashboard built? (Extract from Splunk Security Essentials Addon, I really like how this row looks)
I understand that it has several <single> value searches within the same <panel> and <row>.

The second image is what I have currently:
But HOW to
1. Reduce the spacing between the title and the single-value ?
2. How to get the horizontal line separator?
3. How to reduce the width of the panels? (What is depends="$hideForCSS$") ?

alt text
alt text

0 Karma

Anam
Community Manager
Community Manager

Hi @kashz

Did the answer by @cmerriman help provide a working solution to your question? If yes, please don't forget to resolve this post by clicking "Accept". If no, please leave a comment with more feedback. Thanks!

0 Karma

cmerriman
Super Champion

The best thing i can recommend is using the Developer Tools in your browser to experiment with everything in the dashboard. That allows you to see what the elements are called and you can tweak some of the options and see the impact that they have by changing values around.

this website has some great references for CSS

to use CSS inline in your dashboard, follow this answers post

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...