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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...