Posted By

rowntreerob on 05/15/09


Tagged

apache YouTube sysadm


Versions (?)

php util log access rept - youtube video


 / Published in: Bash
 

daily hits on the youtube.video helper methods in 'utility' cls only on //ads

  1. grep 'util.net.*php' /var/log/httpd/access_log | awk ' { print substr($4,2,6) } ' | sort | uniq -c

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: rowntreerob on May 15, 2009

awk ' { print $7 } ' /var/log/httpd/access_log | cut -d/ -f2,3 | sed 's/\?.*$//' | sort | uniq -c | sort -nr

Posted By: rowntreerob on October 29, 2009

tomcat access by action=

awk '{split($7,a,"/"); print a[2]}' /var/log/tomcat5/access_logyyyy-mm-dd.log | sed 's/^proxy.*/proxy/' | sort | uniq -c

Posted By: rowntreerob on January 19, 2010

solaris access by action=

awk '{split($7,a,"/"); print a[2]}' /usr/local/apache2/logs/accesslog.2010-01-18-0000_00

Posted By: rowntreerob on January 19, 2010

also need the VHost 'api-access_log' in traffic profiles

You need to login to post a comment.