9 Jun
2003
9 Jun
'03
10:33 p.m.
Fred wrote:
As someone else asked, could you share your script for converting that data into combined log format as expected by log analyzers? It looks like a simple Perl script would do the job, extracting referrer and user-agent data when available from the corresponding headers. Are there any tricks to that? No tricks, because each line in access/referer/agent file corresponds to the same hit. You can just use concatenate the fields together.
I noticed I had a newer version of the perl-script I sent to awstats contrib. It's available at http://gewis.nl/~pieterb/zope/access_referer_agent2_combined.v0.96.pl.txt I used it for Lotus Notes, but I guess it can easily be used for Squid as well... Pieter