Splunk Search

Append color values to field value

Vignesh-107
Path Finder

I have a query result . i want to append the three colors  based on values  and the table is dynamic based on the time frame 

column Messages and Nov20 - no change should be same 

MessagesNov 20Dec 20Jan 20Feb 20
Messge 00100
Messge 11311
Messge 211000
Messge 31000
Messge 49500
Messge 51100
Messge 61100
Messge 70100


column Dec20 Jan20 Feb20 - values should append field value and with color value

MessagesNov 20Dec 20Jan 20Feb 20
Messge 00      1
GREEN
      0
RED
0
YELLOW
Messge 113
GREEN
1
RED
1
YELLOW
Messge 2110
RED
0
YELLOW
0
YELLOW
Messge 310
RED
0
YELLOW
0
YELLOW
Messge 495
RED
0
YELLOW
0
YELLOW
Messge 511
YELLOW
0
RED
0
YELLOW
Messge 611
YELLOW
0
RED
0
YELLOW
Messge 701
GREEN
0
RED
0
YELLOW



Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You asked a very similar question (which I answered) here - the main difference being not adding the colour value to the first date column. As I hinted at in the other post, it might be easier to solve from the original query used to generate the table. Are you able to share this? Did you try the technique shown in the other post?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...