misc scripts for analysis - Honghan/NapEasy GitHub Wiki
zcat -f /var/log/tomcat7/localhost_access_log.2016-12-* | grep /napeasy_api/ | grep -v /napeasy_api/api?key= | grep -v x.x.x.x | awk '{print $1 "\t" $4$5}' > ips.txt
zcat -f /var/log/tomcat7/localhost_access_log.2016-12-* | grep /napeasy_api/ | grep -v /napeasy_api/api?key= | grep -v x.x.x.x | awk '{print $1 "\t" $4$5}' > ips.txt