Problem: report the number of errors produced by individual clients
This may be useful for tracking down attacks.
cat error_log | awk '{print $11}' | awk -F: '{print $1}' | sort | uniq -c
Problem: report the number of hits by the top 10 clients
#get top 10 client IPs of top 10 hit count from common format access logcat access_log | awk '{print $1}' | awk -F: '{print $1}' | sort | uniq -c | sort -bnr | head -10
« Go back
Powered by Help Desk Software HESK, in partnership with SysAid Technologies