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!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...