← 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学习群,一起搬砖…

Dashboard revisions

RevisionDecscriptionCreated

Reviews

Login or Sign up to write a review

Reviews from the community

Get this dashboard

Data source:

Dependencies:

Import the dashboard template:

or

Download JSON

Docs: Importing dashboards

Downloads: 2,277