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!

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...