Traefik On K8s Via Loki
Loki on k8s using JSON Traefik access logs.
This Dashboard expects a Traefik helm chart installed and running in a k8s cluster. and a Loki datasource enabled to collect traefik access logs.
You Need to update Traefik deployment and allow access logs in a Json format.
Edit Traefik deployment and enable json access logs.
$ kubectl -n traefik edit deployment.apps/traefik
containers:
- args:
- --log.level=INFO
- --log.format=json
- --accesslog.format=json
- --accesslog=true
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |
Grafana Loki (self-hosted)
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