Code: Select all
grep 'HTTP/1.0' /var/log/apache2/domains/SOMEDOMAIN.COM.log
Code: Select all
grep 'HTTP/1.0' /var/log/apache2/domains/SOMEDOMAIN.COM.log | tail -n 1000 | awk '{print $1}' | sort | uniq -c | sort -n
Code: Select all
grep 'xxx.xxx.xxx.xxx' /var/log/apache2/domains/SOMEDOMAIN.COM.log | grep 'HTTP/1.0'