Find the top IP addresses in the access log
which ip makes the most requests | top ips in access log | who is hitting my site so often | count ip addresses in log file | awk | access-log | apache | nginx | pleskawk '{print $1}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20Counts how often each IP address appears in the log and lists the 20 most frequent with their count. Useful when a server is suddenly under load and you want to know whether individual clients are responsible. Works with the combined format of Apache and nginx, where the IP is in the first column.
Note: On Plesk, HTTP and HTTPS requests are logged separately in access_log and access_ssl_log. Only the period since the last rotation is counted.
Also searched as
- which ip makes the most requests
- top ips in access log
- who is hitting my site so often
- count ip addresses in log file