From: pent 5971 <[email protected]>
> I can scroll the log squid log archives with tail command  but
> sometimes  i want to get some information from it from its coloumns.
> like getting the IP addresses from the logs and take it to an other
> file as list.

  awk -F\| ' { print $1 } ' squid.access.log > ips.lst

You can also add '| sort | uniq -c | sort -n' to get the number of queries for 
each IP, sorted...

JD


      

Reply via email to