Datasource InfluxDb change Stat Panel color based on text


using Datasource InfluxDB, the return value is a text:
2021-01-29 17:40:11 Warning

How to change the color for. OK=Green, Warning=Yellow, Critical=Red?



Use value mappings then adjust your threshold to match the colors.

Good Luck

thanks wlargou,

understood that still not possible to receive a text from datasource and convert to a number and adjust threshold to match the colors and get back the text.

Warning → 1 → Warning (yellow)

I will keep this way, all blue.

1 Like