Change colour of Table based on text string

I am new to Grafana and am creating a system monitoring dashboard.

I have created a table to show the status message that pulls in a text string from an InfulxDB database.

What I want to achieve is a green formatted text box if everything is ok. The text string in this case is “Operational” and a red formatted text box for any other text string.

How can I achieve this?

On, there is an example of this where Value Mappings are used.

Thanks, it turned out I was using a downstream version of Grafana so I couldn’t see the current options. I have got it working but ended up using a Stat panel to display the status which works really well. Thanks again for your help.

1 Like