Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to color code one column based on another (Dynamic)column when using chart command?

$
0
0
I have 700 sites, I am running a chart command to get some value for each site per day. | bin span=1d _time | eval _time=strftime(_time,"%Y-%m-%d") | chart avg() as Value by Site,_time Output looks like this: ![alt text][1] Now I want to color my field values based on the delta between Field1 and rest values in the row. eg. If delta between -35 and -44 is 9 then -44 will be colored yellow. So the ranges are , Delta <=5 - No color ; 5>Delta<=10 - Yellow ; Delta>10 - Red. ![alt text][2] [1]: /storage/temp/275628-image1.png [2]: /storage/temp/275629-image2.png How can I do this?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>