3. | stats.pl  

$ cat /var/log/nginx/access.log | \
  perl -nE '/"rtt=(\d+[.]\d+)/ && say $1 * 1000' | \
  stats.pl
Total:   4211317
Count:   123908
Average: 33.9874503664009
Std Dev: 225.23420279394
Min:     0
Max:     16127