Convert time acces log of Squid

 

tail -f /var/log/squid3/access.log | grep "192.168.0.1" | perl -p -e 's/^([0-9]*)/"[".localtime($1)."]"/e'

Comments

Popular posts from this blog

Install Gitea on NAS Netgear

Send mail with from on Linux