filter logs

This commit is contained in:
2026-03-23 12:24:27 +01:00
parent 684b35c009
commit 5d8437bd01

View File

@@ -1993,7 +1993,8 @@ dashboards:
"showLabels": false, "showLabels": false,
"showTime": true, "showTime": true,
"sortOrder": "Descending", "sortOrder": "Descending",
"wrapLogMessage": false "wrapLogMessage": true,
"displayedFields": ["OriginStatus", "RequestMethod", "RequestAddr", "RequestPath", "ClientAddr", "ServiceAddr", "ServiceName", "Duration"]
}, },
"targets": [ "targets": [
{ {
@@ -2001,7 +2002,7 @@ dashboards:
"type": "loki", "type": "loki",
"uid": "loki" "uid": "loki"
}, },
"expr": "{namespace=\"traefik-system\"} |= \"RequestProtocol\"| json | line_format \"Status:{{.OriginStatus}} Client From {{.ClientAddr}} {{.RequestMethod}} {{.RequestAddr}}{{.RequestPath}} Route To {{.ServiceAddr}}\"", "expr": "{namespace=\"traefik-system\"} |= \"RequestProtocol\" | json",
"legendFormat": "", "legendFormat": "",
"refId": "A" "refId": "A"
} }