awk '$6 ~ "POST" && $7 ~ "wp-login" { ips[$1]++ } END {for (ip in ips) { print ip, " ", ips[ip], " POSTs" }}' /var/log/apache2/access.log
</source>
or, <source lang="bash">grep POST /var/log/apache2/access.log | cut -d ' ' -f 1 | sort | uniq -c</source>
{{References}}