What is istio-proxy access log mean?

前端 未结 3 447
甜味超标
甜味超标 2021-01-07 06:41

I am trying to troubleshoot my service by looking at the istio-proxy access log (it logs every access). However, I can\'t find any documentation that explains the meaning of

3条回答
  •  滥情空心
    2021-01-07 07:11

    Istio/Envoy access logs comes with a default format. Here is the default format

    [%START_TIME%] "%REQ(:METHOD)% %REQ(X-ENVOY-ORIGINAL-PATH?:PATH)% %PROTOCOL%" %RESPONSE_CODE% %RESPONSE_FLAGS% %BYTES_RECEIVED% %BYTES_SENT% %DURATION% %RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)% "%REQ(X-FORWARDED-FOR)%" "%REQ(USER-AGENT)%" "%REQ(X-REQUEST-ID)%" "%REQ(:AUTHORITY)%" "%UPSTREAM_HOST%"\n
    

    It matches with the sample log entry that you have given. You can find more details about the fields and generally about envoy's access logs here

提交回复
热议问题