conf t

インフラエンジニアのメモ

2016-02-03から1日間の記事一覧

apacheのログからhttpレスポンスの条件付きで転送量をカウントする

こんな感じでテストログを作成。combined形式。 # cat testlog.log 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 100 "http://www.example.com/start.html" "Mozilla/4.08 [en] (Win98; I ;Nav)" 127.0.0.1 - frank […