8 lines227 B

# Which IPs hit us most?
cut -d' ' -f1 access.log | sort | uniq -c | sort -rn | head
# All 404s, newest last
grep ' 404 ' access.log | tail -20
# Lines with "error", case-insensitive, with line numbers
grep -in error app.log