mergelog 時系列でマージ
PDF ダウンロード数
Webalizer の Hits 数 ≠ ダウンロード数
PDFファイルのアクセス数が極端に多い現象 | アクセス解析Blog | ミツエーリンクス
しかし、PDFのようにサイズの大きなファイルにWebサーバ経由でアクセスする場合、見た目では1回のアクセスしかしていなくても、サーバ内部では部分的にデータを転送しているということがあります。このデータ転送は、ログファイル上にステータスコード206というかたちで記録され、これがログファイル上に大量に残っていることがあるのです。
ダウンロード中にブラウザからキャンセル
http - Does Apache log cancelled downloads? - Stack Overflow
Yes, it logs those requests, but you need to use mod_logio to know the actual bytes sent, else it will show the total amount of bytes of the file. And to know which have failed you'd have to either:
use the %X format modifier and use a custom log format
compare the actual bytes sent against the files' sizes (why would you if you have the first option :-) )
キャンセルした場合も、ログにはファイルの合計サイズが記録される
- 送信サイズ mod_logio
- 送信完了 %X