Grafana colored logs and elasticsearch lucene query

I have colored logs (Ansible logs) in Elasticsearch.
Logs are displayed normally (colored) in Grafana.

If I execute a lucence query using a Number field, the logs will be displayed in color:

screenshot 1

screenshot 2

But if I execute lucence query using a field of type String, the logs will be displayed without colors and with escape characters:

screenshot 3

How can I get colored logs with fields of type String?

This seems more of a grafana question than an Elasticsearch one, given it's the UI.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.