Created
July 28, 2017 09:05
-
-
Save mstrzele/8b7feb9e80c9a220adce821b4ba65cc8 to your computer and use it in GitHub Desktop.
NGINX Ingress Google Cloud Platform Log Format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"timestamp": "$time_iso8601", | |
"httpRequest": { | |
"requestMethod": "$request_method", | |
"requestUrl": "$scheme://$host$request_uri", | |
"requestSize": "$request_length", | |
"status": "$status", | |
"responseSize": "$bytes_sent", | |
"userAgent": "$http_user_agent", | |
"remoteIp": "$proxy_protocol_addr", | |
"referer": "$http_referer", | |
"latency": "${request_time}s" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment