apache_sitedown
This is an old revision of the document!
Investigating a 'site down' issue.
grep 24/Apr/2015:02:[3-6][0-9]:* /var/log/httpd/access_log | awk '{print "IPaddress", $1,"Time",$4, $9}'This will grep for: date 24/April/2015 02:30 - 02:60
E.g:
IPaddress x.x.x.x Time 24/Apr/2015:02:36:01 200 IPaddress x.x.x.x Time 24/Apr/2015:02:36:11 200 IPaddress x.x.x.x Time 24/Apr/2015:02:36:11 200 IPaddress x.x.x.x Time 24/Apr/2015:02:36:12 200
apache_sitedown.1429860124.txt.gz · Last modified: 2024/05/23 07:26 (external edit)