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!

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...