Updated content based on Ivana's note. (#41848) (#41855)

(cherry picked from commit e59c3a34fe)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2021-11-18 10:23:57 +01:00
committed by GitHub
co-authored by achatterjee-grafana
parent 0d2a255fcb
commit 45bb76bd00
+1 -1
View File
@@ -25,7 +25,7 @@ Results of log queries are shown as histograms in the graph and individual logs
#### Log level
For logs where a **level** label is specified, we use the value of the label to determine the log level and update color accordingly. If the log doesn't have a level label specified, we parse the log to find out if its content matches any of the supported expressions (see below for more information). The log level is always determined by the first match. In case Grafana is not able to determine a log level, it will be visualized with **unknown** log level.
For logs where a level label is specified, we use the value of the label to determine the log level and update color accordingly. If the log doesn't have a level label specified, we try to parse the log using logfmt and JSON parsers to find out if its content matches any of the supported expressions (see below for more information). The log level is always determined by the first match. In case Grafana is not able to determine a log level, it will be visualized with an unknown log level.
**Supported log levels and mapping of log level abbreviation and expressions:**