Loki: Improve error message for unescaped \ and add LogQL link to docs (#26136)

* Add custom escaping error message

* Include regex escape error message

* Update docs, add logql link

* Refactor
This commit is contained in:
Ivana Huckova
2020-07-09 10:13:41 +02:00
committed by GitHub
parent 45cfb3451b
commit d3dcb19a5b
3 changed files with 33 additions and 2 deletions

View File

@ -59,7 +59,7 @@ The new field with the link shown in log details:
## Querying Logs
Querying and displaying log data from Loki is available via [Explore]({{< relref "../explore" >}}), and with the [logs panel]({{< relref "../../panels/visualizations/logs-panel.md" >}}) in dashboards. Select the Loki data source, and then enter a log query to display your logs.
Querying and displaying log data from Loki is available via [Explore]({{< relref "../explore" >}}), and with the [logs panel]({{< relref "../../panels/visualizations/logs-panel.md" >}}) in dashboards. Select the Loki data source, and then enter a [LogQL](https://github.com/grafana/loki/blob/master/docs/logql.md) query to display your logs.
### Log Queries