GoAccess

By admin, 21 十一月, 2015

这是一个非常好用的,可以用于分析nginx access log的工具,能找出独立访问的IP、最多访问的页面、最多访问的静态文件。Ubuntu的软件库里自带,安装命令和用法是:

     

apt-get install goaccess

goaccess -f /var/log/nginx/access.log

goaccess -f allaccess.log -o /var/www/laravel/public/tmp/20161214.html --time-format="%H:%M:%S" --date-format="%d/%b/%Y" --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u"'

http://goaccess.io/

评论

Restricted HTML

  • 允许的HTML标签:<a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id> <img src>
  • 自动断行和分段。
  • 网页和电子邮件地址自动转换为链接。
验证码
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
请输入"Drupal10"