All dashboards

Traefik Via Loki

Loki version 2 showcase using JSON Traefik access logs.

模仿官方Loki v2 Web Analytics Dashboard做了个Traefik的版本

使用说明

1. 修改Traefik日志格式

traefik.yaml

# format: json
accessLog:
  format: json

2. 下载并导入模版 “Traefik Via Loki”

3. 修改LogQL语句

{job="/var/log/traefik.log"} 替换成自己的label

关注『云原生小白』公众号回复「入群」,加入Loki学习群,一起搬砖…

Revisions
RevisionDescriptionCreated
Grafana Loki (self-hosted)

Grafana Loki (self-hosted)

by Grafana Labs
Grafana Labs solution

Easily monitor Grafana Loki (self-hosted), a horizontally scalable, highly available, multi-tenant log aggregation system inspired by Prometheus, with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies