Created
December 13, 2019 08:57
-
-
Save nemfoz/3358171d983bf394dab60fa711cbdaa4 to your computer and use it in GitHub Desktop.
Log format for NGINX Amplify
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
log_format apm '"$time_local" client=$remote_addr ' | |
'method=$request_method request="$request" ' | |
'request_length=$request_length ' | |
'status=$status bytes_sent=$bytes_sent ' | |
'body_bytes_sent=$body_bytes_sent ' | |
'referer=$http_referer ' | |
'user_agent="$http_user_agent" ' | |
'upstream_addr=$upstream_addr ' | |
'upstream_status=$upstream_status ' | |
'request_time=$request_time ' | |
'upstream_cache_status="$upstream_cache_status" ' | |
'upstream_response_time=$upstream_response_time ' | |
'upstream_connect_time=$upstream_connect_time ' | |
'upstream_header_time=$upstream_header_time'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment