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 each entry in the log.
For example
[2018-12-20T11:09:42.302Z] "GET / HTTP/1.1" 200 - 0 614 0 0 "10.32.96.32" "curl/7.54.0" "17b8f245-af00-4379-9f8f-a4dcd2f38c01" "foo.com" "127.0.0.1:8080"
What does log above mean?
Updated
I've tried Vadim's answer, but I couldn't find the log format data. Here's the output json file. Is there anything that I miss? I am using istio-1.0.0
Istio proxy access log's configuration is defined as part of
envoy.http_connection_manager
orenvoy.tcp_proxy
filters. To see it's configuration, run:Search for
access_log
ofenvoy.http_connection_manager
for HTTP andaccess_log
ofenvoy.tcp_proxy
for TCP.You will see something like this:
Check the log attributes definitions here
If
access_log
's format is not specified in the output above, the default format is used.Istio/Envoy access logs comes with a default format. Here is the default format
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
Here is the format of log:
Here is real log: