/var/log/nginx/access.log

From wikieduonline
Revision as of 19:46, 11 December 2023 by Welcome (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

/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: