アクセスログ解析ツール analog
analog とは,アクセス解析ツールです.
analog 本家
analog 日本語ページ
グループユーザ epwww で作業する.
□ インストール
- analog より
analog の最新版(2001/11/30 現在) analog-5.03.tar.gz をダウンロードする.
- ダウンロードしたファイルを以下のディレクトリにコピー
/usr/src/
/home/epwww/public_html/log_report/
- 以下のディレクトリに移動
$ cd /home/epwww/public_html/log_report/
- 展開する
$ tar zxvf analog-5.03.tar.gz
- 以下のディレクトリに移動
$ cd analog-5.03
- make する
$ make
analog ができる
□ analog の日本語化
-
日本語ページ
よりバージョンに合った日本語化用のファイル (EUC-JP 用) をダウンロードする
analog.cfg
jp.lng
jpdesc.txt
- analog.cfg のバックアップ analog.cfg.bk をとる
ダウンロードした
alalog.cfg は /home/epwww/public_html/log_report/analog-5.03/ 以下に移動
ダウンロードした
jp.lng, jpdesc.txt は
/home/epwww/public_html/log_report/analog-5.03/lang/ 以下に移動
□ analog 設定ファイルの変更
$ vi analog.cfg
LOGFILE /var/log/apache/access.log
OUTFILE /home/epwww/public_html/log_report/index.html
LOCALCHARTDIR /home/epwww/public_html/log_report/images/
注:ファイル jpdom.tab がなく,代わりに jpedom.tab
というファイルがある(かもしれない)とき,
DOMAINSFILE lang/jpedom.tab
と変更するか,
jpedom.tab を jpdom.tab にコピーする.
□ apache 設定ファイルの変更
httpd.conf 中に以下を加える.
vi /etc/apache/conf/httpd.conf
Alias /analog/ /home/epwww/public_html/log_report/
□ analog の動作確認
$ ./analog
□ エラーが出るとき
./analog: analog version 5.03/Unix
./analog: Warning R: Turning off empty Search Word Report
(For help on all errors and warnings, see docs/errors.html)
./analog: Warning R: Turning off empty Operating System Report
上のようなエラーがでるときは,設定ファイル analog.cfg に以下の 2 行を追加
SEARCHWORD OFF
SREP OFF
□ cron の設定
$ crontab -e
30 6 * * * /home/epwww/public_html/log_report/analog-5.03/analog
□ 参考サイト
更新日 : 2001/11/30 (高橋 こう子)
作成日 : 2001/11/30
Copyright (C) 2000 epnetfan All rights reserved.