The string below is a sanitized excerpt from my web logs. Using Apache 2 and Tomcat 5 to serve various content as a resource for other sites. When I try to import my logs into awstats it pukes on the LogFormat. I know my LogFormat is correct in what fields I'm selecting (not a n00b) and I've managed to even massage the log data to narrow the problem down to a specific handling of my %methodurl field. It seems that the way we include the referrer URL and query string in the GET (this is done for a reason so it can't be changed) breaks awstats ability to parse that field.
Here's a single line example:
“GET /Syndicate/SynMaster?ttpid=TTPID-E6-106
&vsr_sku=541162244&vsr_price=1.99&vsr_shoppi
ng_cart=http%3A//www.somedomain.com/webapp/w
cs/stores/servlet/OrderItemAdd%3FURL%3DOrder
ItemDisplay%26catEntryId_0%3D13002850%26quan
tity_0%3D1&ParentUrl=http%3A//www.somedomain
.com/product/541162244.htm HTTP/1.1″
Ok, short of deleting everything after …ttpid=TTPID-E6-106 (which I did and it worked sparklingly well) is there any way anyone can figure of getting updateall.pl now to not error out on my logformat?
If I'm just not using the correct search term in google please feel free to tell me what search term you've found helpful for this case and I'll go do my homework. 2 days of searching has yeilded exactly what I have now.
Thanks chaps.