conf t

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

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

apacheアクセスログを日付でgrepする際の文字生成

grepする対象はcombined形式のログ # cat testlog2.log 127.0.0.1 - frank [04/Feb/2016: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 [10/Oct/2000…