Splunk Search

cell color based on text pattern or partial text

lbonnes
Observer

I am using a Statistics table for the visualization of some data. Is there a way to colorize cells based on partial text values?

Example...      I want a different cell color based on the first 3 letters of the values .  I would want one cell color for all cells  that start with BAX,  a different color for cells that start with CAR ,  etc. 

BAX11ROW3 
BAX12ROW5
CAR01ROW4
CAR05ROW3
DOR01ROW6

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You can do this with CSS - essentially you need to have a multivalue field with the colour you want in the second value - this can be the result of some calculation e.g. based on the first three characters of the field - then you can follow this link to see how it is done in similar circumstances

https://community.splunk.com/t5/Dashboards-Visualizations/How-to-update-table-cell-color-as-per-the-...

 

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!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...