@kyanny's blog

My thoughts, my life. Views/opinions are my own.

AWS: ELB (ALB) のログをターゲットのステータスコードで絞り込む

cat *.log | ruby -rtime -anle 't=Time.parse($F[1]); puts [t.localtime, $F[12], $F[13]].join("\t") if $F[9] == "500"'

docs.aws.amazon.com