Difference between revisions of "/var/log/nginx/access.log"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 13: Line 13:
  
 
== See also ==
 
== See also ==
 +
* {{5XX}}
 
* {{nginx}}
 
* {{nginx}}
  
 
[[Category:Computing]]
 
[[Category:Computing]]

Revision as of 05:09, 9 March 2023

/var/log/nginx/

cat /var/log/nginx/access.log | grep -v ELB-HealthChecker
zcat -f /var/log/nginx/access.log* | grep " 504 "
zcat -f /var/log/nginx/access.log* | grep " 504 " | awk '{print $4}'
zcat -f /var/log/nginx/access.log* | grep " 504 " | awk '{print $4" "$7" "$(NF-1)}'

Print response times, needs to be activated first:

cat /var/log/nginx/access.log | awk '{print $4, $(NF-1)}'

Related

See also

Advertising: