Last active
November 27, 2017 01:16
-
-
Save iidaatcnt/bb679971c759f54d6cb73bac16de89f5 to your computer and use it in GitHub Desktop.
ワンライナー:httpdアクセスログを"["と"]"で区切る
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ grep -E "Server " Web*/messages | \ | |
grep "Oct 27" | \ | |
awk -F'[\\\[|\\\]]' '{print $2}' | \ | |
sort | uniq -c | |
# 4 1172 | |
# 1 1187 | |
# 2 1247 | |
# 8 1480 | |
# 4 1553 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment