Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^9: Question about the most efficient way to read Apache log files without All-In-One Modules from CPAN (personal learning exercise)by karlgoethebier (Abbot) |
on Jun 18, 2015 at 17:47 UTC ( [id://1131037]=note: print w/replies, xml ) | Need Help?? |
"...3 space-separated components (hint: it doesn't)" I used this: <LogFormat "%h %l %u %t \"%r\" %>s %b" common>, as in the example by kcott. From the docs: "First, the method used by the client is GET. Second, the client requested the resource /apache_pb.gif, and third, the client used the protocol HTTP/1.0." Hence the request field will always look like this: "GET /karls.beer HTTP/1.0". Best regards, Karl «The Crux of the Biscuit is the Apostrophe»
In Section
Seekers of Perl Wisdom
|
|