3
3

More than 5 years have passed since last update.

access_logの扱い

Last updated at Posted at 2014-02-25

ログファーマット時刻が%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

3
3
2

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
  3. You can use dark theme
What you can do with signing up
3
3