Hey Splunk team, I have a data similar to this: | makeresults
| eval data="ABC,10,15;DEF,12,13;GHI,11,14"
| makemv delim=";" data
| mvexpand data
| eval label=mvindex(split(data,","),0)
| eval duration1=tonumber(mvindex(split(data,","),1))
| eval duration2=tonumber(mvindex(split(data,","),2))
| eval duration_diff=abs(duration1 - duration2)
| table label duration1 duration2 duration_diff which I wanted to highlight the color in red, if value of abs(duration1 - duration2) is >2, making the column red. In the example above, column 10, 15 & 11, 14 should be red. I tried to do something like this but not able to get it work, could you help me how to do that, thank you! <format type="color" field="duration2">
<colorPalette type="expression">if ($row.duration_diff$ > 2 ,"#DC4E41", null())</colorPalette>
</format>
... View more