Docs: Add documentation about log levels (#28975)

* Add documentation about log level

* Update

* Update

* Update

* Add unknow to table

* Update docs/sources/explore/index.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/panels/visualizations/logs-panel.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
This commit is contained in:
Ivana Huckova
2020-11-11 14:56:24 +01:00
committed by GitHub
co-authored by achatterjee-grafana
parent 6d40206431
commit e834ad0093
2 changed files with 31 additions and 0 deletions
@@ -17,6 +17,10 @@ The logs panel shows the result of queries that were entered in the Query tab. T
To limit the number of lines rendered, you can use the **Max data points** setting in the **Query options**. If it is not set, then the data source will usually enforce a default limit.
## 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. See [supported log levels and mappings of log level abbreviation and expressions](../explore/#log-level/).
### Display options
Use these settings to refine your visualization: