TrafficServerのバイナリログ変換方法

1. ファイルを全て変換

traffic_logcat -a squid.blog

2. tail -f apache2.log 的な

sudo traffic_logcat -f squid.blog

3. unixtimeから現在の時刻に書き換え

perl -pe 's/\d+\.\d+/localtime $&/e' squid.log > squid_edit.log

出典: