Disable keyword highlight in Log panel

  • What Grafana version and what operating system are you using?
    Grafana v12.0.2 on Docker

  • What are you trying to achieve?
    Create a dashboard that visualizes logs, and allows for filtering using regex expressions, and it’s easy to read.

  • How are you trying to achieve it?
    Dashboard created successfully

  • What happened?
    All the entries in my dashboard appears highlighted

  • What did you expect to happen?
    I want to avoid the highlighting.

  • Can you copy/paste the configuration(s) that you are having problems with?
    This is the query that I have at the moment:
    {hostname=~“$hostname”,component=“loki.source.syslog”} |~ $filter |~ $free_form_filter

Pass result to some additional parser/filter, so it will drop somehow highlight metadata. IMHO there is no doc for that, but this works for me (you may need different LogQL, use my example as an idea, not a copy&paste solution):

| json | line_format `{{.body}}`