# GoAccess分析access log GoAccess是一套開放原始碼專門處理網頁伺服器log,可以產生網頁版或文字版的動態統計報表,讓系統管理者可以查看即時的系統狀態,其涵蓋的資訊非常詳細,而且產生報表的方式相當簡潔,只要一行指令就可以馬上產生報表。 :::warning 無法查看每天存取URL的分析 => 暫時解決分法是切分多個日期檔案,各自分析 ::: ## Install 1. 下載安裝包 2. 設定Log format 3. 執行GoAccess > goaccess access.log -o report.html --log-format=COMBINED [輸出範例](https://github.com/opensourceteams/linux/blob/master/md/images/goaccess.png) ## Dashboard 欄位說明 1.Unique visitors per day – Including spiders(分析每天多少不同的IP造訪) 2.Requested files (Pages-URL)(瀏覽的動態網頁) 3.Requested static files – (Static content: png,js,etc)(瀏覽的靜態檔案) 4.HTTP 404 Not Found response code (HTTP 404 錯誤的頁面) 5.Hosts (拜訪最多次數的IP,DDos常常看這裡) 6.Operating Systems (分析來客的系統,但這個參數可以偽裝) 7.Browsers (分析來客的瀏覽器,同樣可以偽裝) 8.Referrers URLs (最多請求的 URL) 9.Referring Sites (從哪裡URL來源鏈結過來的) 10.Top Keyphrases used on Google’s search engine (分析Google熱門關鍵字,似乎沒有辦法分析) 11.Geo Location (來源的地區) 12.HTTP Status Codes (HTTP狀態,可以拿來看網站的穩定度) ## 參考 [官網](https://goaccess.io/) [中文操作手冊](https://goaccess.cc/?mod=man) [Dashboard介紹](https://yq.aliyun.com/articles/695263) [經驗分享](http://www.cc.tcu.edu.tw/?p=2834)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up