RESPONSE_FLAGS 很重要的信息,Envoy 中自定义的响应标志位, 可以认为是 Envoy 附加的流量状态码。 如「NR」表示找不到路由,「UH」表示 Upstream Cluster 中没有健康的 host,「RL」表示触发 rate limit,「UO」触发断路器。 RESPONSE_FLAGS可选值有十几个,这些信息在调试中非常关键。 X-REQUEST-ID 一次C 到 S...
"status":"%RESPONSE_CODE%","respflags":"%RESPONSE_FLAGS%","bytes-received":"%BYTES_RECEIVED%","bytes-sent":"%BYTES_SENT%","duration":"%DURATION%","upstream-service-time":"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%","x-forwarded
Response Flags: Additional details about the response or connection from proxy. In case of Envoy, see%RESPONSE_FLAGS%inEnvoy Access Logfor more detail. Canonical Service: A workload belongs to exactly one canonical service, whereas it can belong to multiple services. A canonical service has a n...
"requested_server_name": null, "response_code": 200, "response_code_details": "via_upstream", "response_flags": "-", "route_name": "default", "start_time": "2022-07-04T10:00:09.401Z", "upstream_cluster": "outbound|8000||httpbin.istio-demo.svc.cluster.local", "upstream_host": ...
[%START_TIME%]"%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%"%RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEVIED% %BYTES_SENT% %FRUATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%"%REQ(X-FORWARDED-FOR)%""%REQ(USER-AGENT)%""%REQ(X-REQUEST-ID)%""%REQ(:AUTHORITY)%""...
%RESPONSE_CODE%:HTTP响应码; TCP代理因不支持而显示为“-”; %RESPONSE_FLAGS% :响应标志,用于进一步说明响应或连接的详细信息; %BYTES_RECEIVED%:接收的报文中body部分的大小;TCP代理中意味着下游接收到的字节数; %BYTES_SENT% :发送的报文中body部分的大小;TCP代理中意味着下游发送的字节数; ...
:PATH)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %RESPONSE_CODE_DETAILS% %CONNECTION_TERMINATION_DETAILS% "%UPSTREAM_TRANSPORT_FAILURE_REASON%" %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% "%REQ(X-FORWARDED-FOR)%" "%REQ(USER-AGENT)%" "%REQ(X-...
AccessLog", "path": "/dev/stdout", "format": "[%START_TIME%] \"%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%\" %RESPONSE_CODE% %RESPONSE_FLAGS% \"%DYNAMIC_METADATA(istio.mixer:status)%\" \"%UPSTREAM_TRANSPORT_FAILURE_REASON%\" %BYTES_RECEIVED% %BYTES_SENT% %...
file.v3.FileAccessLog logFormat: textFormatSource: inlineString: | [%START_TIME%] "%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %RESPONSE_CODE_DETAILS% %CONNECTION_TERMINATION_DETAILS% "%UPSTREAM_TRANSPORT_FAILURE_REASON%" %BYTES_RECEIVED...
<istio.response_flag>%{DATA}|-)? \"-\" \"-\" %{NUMBER:istio.bytes_received} %{NUMBER:...