line format

This commit is contained in:
2026-03-23 12:27:58 +01:00
parent 5d8437bd01
commit c914498590

View File

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