LoginSignup
3

More than 5 years have passed since last update.

posted at

updated at

access_logの扱い

ログファーマット時刻が%tの時のソート

sort -t '[' -k 2.8,2.11n -k 2.4,2.6M -k 2.1,2.2n -k 2.13,2.14n -k 2.16,2.17n -k 2.19,2.20n access_log

uaだけなど

awk -F '"' '{ print $6 }' access_log

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
3