官網http://goaccess.io/

Ubunut 安裝

apt-get -y install goaccess

Centos 安裝

yum install goaccess

或是從官網下載回來編譯

$ wget http://tar.goaccess.io/goaccess-0.9.tar.gz
$ tar -xzvf goaccess-0.9.tar.gz
$ cd goaccess-0.9/
$ ./configure --enable-geoip --enable-utf8
$ make
# make install

使用方式

goaccess -f /var/log/httpd/access_log

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

goaccess

  1. Unique visitors per day - Including spiders(分析每天多少不同的IP造訪)
  2. Requested files (Pages-URL)(瀏覽的網頁)
  3. Requested static files - (Static content: png,js,etc)(瀏覽的檔案)
  4. Referrers URLs
  5. HTTP 404 Not Found response code
  6. Operating Systems
  7. Browsers
  8. Hosts
  9. HTTP Status Codes(需要使用-s的參數)
  10. Top Referring Sites
  11. Top Keyphrases used on Google's search engine

參考資料

http://portable.easylife.tw/2369

http://goaccess.io/download

By tony

自由軟體愛好者~喜歡不斷的思考各種問題,有新的事物都會想去學習嘗試 做實驗並熱衷研究 沒有所謂頂天的技術 只有謙虛及不斷的學習 精進專業,本站主要以分享系統及網路相關知識、資源而建立。 Github http://stnet253.github.io

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料