Splunk Search

conditional event to display different static picture

cpuppet
Path Finder

is there any ways to display different static picture on dashboard depends on different search result.
this is sort of like an if-then scenario, which can be crucial to my live dashboard
the single event icon color can be changed, so i m wondering if it is possible to display different picture for conditional results. Such as, critical should display pic01 in the my dashboard, low should display pic02 in my dashboard, so on...

Drainy
Champion

Yes, you can do this through CSS to an extent. I will update my answer with some code examples a bit later on (Don't have time at the moment but also don't want you to give up on it! 🙂 )
I use it with singlevalues to allow me to change the image as different events happen.

As a brief explanation its using the background image of a div which you can define inside the application.css for an app and you can specify this against your singlevalue requirements, e.g critical.
Or you can define your own classes to use instead of the default ones like critical/warning etc.

0 Karma

cpuppet
Path Finder

hi...thank you for the explanation, i will see if i can figure it out before you post the example here

0 Karma

Takajian
Builder

As long as I know, there is no way at this moment. You can request Enhance request to Splunk.

0 Karma

cpuppet
Path Finder

i believe it can be done some way with some modification in the background...but not sure which and how...
definitely not from OTB function they provided...
thanks anyways...

cheers

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!

How much can you really learn in 3 minutes?

Observability can certainly be hard to understand – there's a lot of jargon and buzzwords and it seems to ...

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...