[squid-users] how to convert Squid log format to Apache

From: MAIL.ru <kanat@dont-contact.us>
Date: Wed, 10 Aug 2005 17:34:42 +0600

Sorry if posted not there.
my log analyzer program can’t understand this format, I need to convert
this as the below. Could anybody help how to convert this?

Squid log format:
1123577422.425 0 192.168.160.80 TCP_MISS/200 781 GET http://www.
business.lbn.ru/cgi-bin/iframe/old-GAGAVA? Fin9 DIRECT/217.16.31.83 text/
html
1123577424.560 0 192.168.160.80 TCP_MISS/302 0 GET http://www.au-au.
ru/ap/show.php? Fin9 DIRECT/193.23.48.235 text/html
1123577424.829 0 192.168.160.80 TCP_MISS/200 35672 GET http://my.jdu.
ru/messages.phtml Fin9 DIRECT/194.67.27.126 text/html
1123577425.889 0 192.168.160.80 TCP_MISS/304 0 GET http://img.
allegro.pl/photos/ap/168/391.gif Fin9 DIRECT/193.23.48.211 image/gif

Apache log format:
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://www.
medafarm.ru/images/strelka.gif HTTP/1.1" 200 191
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://www.
medafarm.ru/images/shadow_head.gif HTTP/1.1" 200 51
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://www.
medafarm.ru/images/anons_bg2.gif HTTP/1.1" 200 185
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://www.
medafarm.ru/images/point_bottom.gif HTTP/1.1" 200 142
192.168.160.71 - Teh1 [10/Aug/2005:17:15:35 +0600] "GET http://top3.list.
ru/counter? HTTP/1.0" 200 43
Received on Wed Aug 10 2005 - 05:37:10 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:01 MDT