[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eEnvoy sidecar applications generate audit logs in JSON format upon receiving requests within the service mesh.\u003c/p\u003e\n"],["\u003cp\u003eThe audit logs contain detailed information about each request, including \u003ccode\u003ebytes_sent\u003c/code\u003e, \u003ccode\u003ex_forwarded_for\u003c/code\u003e, \u003ccode\u003euser_agent\u003c/code\u003e, \u003ccode\u003ex_request_id\u003c/code\u003e, and other relevant data.\u003c/p\u003e\n"],["\u003cp\u003eThe log format includes timestamps such as \u003ccode\u003eobserved_time_unix_nano\u003c/code\u003e, \u003ccode\u003estart_time\u003c/code\u003e, and \u003ccode\u003etime_unix_nano\u003c/code\u003e for precise timing information.\u003c/p\u003e\n"],["\u003cp\u003eNetwork and connection details are captured in fields like \u003ccode\u003eupstream_local_address\u003c/code\u003e, \u003ccode\u003edownstream_local_address\u003c/code\u003e, \u003ccode\u003eupstream_host\u003c/code\u003e, and \u003ccode\u003edownstream_remote_address\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe logs record response information like the \u003ccode\u003eresponse_code\u003c/code\u003e, \u003ccode\u003eresponse_code_details\u003c/code\u003e, \u003ccode\u003eresponse_flags\u003c/code\u003e, and can include the request \u003ccode\u003ebody\u003c/code\u003e as well as identifying the user via \u003ccode\u003eusername\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Service Mesh Envoy access logs\n\nApplications (Envoy sidecars) that generate audit logs on the service mesh upon receiving requests have the following log format.\n\n**JSON representation** \n\n {\n \"bytes_sent\": string,\n \"x_forwarded_for\": string,\n \"severity_text\": string,\n \"observed_time_unix_nano\": integer,\n \"user_agent\": string,\n \"x_request_id\": string,\n \"start_time\": string,\n \"upstream_local_address\": string,\n \"connection_termination_details\": string,\n \"severity_number\": integer,\n \"resource\": {\n object\n },\n \"x_envoy_upstream_service_time\": string,\n \"response_code_details\": string,\n \"upstream_host\": string,\n \"duration\": string,\n \"upstream_cluster\": string,\n \"upstream_transport_failure_reason\": string,\n \"authority\": string,\n \"username\": string,\n \"protocol\": string,\n \"route_name\": string,\n \"requested_server_name\": string,\n \"method\": string,\n \"time_unix_nano\": integer,\n \"bytes_received\": string,\n \"path\": string,\n \"response_flags\": string,\n \"x_goog_api_client\": string,\n \"body\": {\n object\n },\n \"downstream_local_address\": string,\n \"downstream_remote_address\": string,\n \"response_code\": string\n }"]]