[Scratchy-user] Possible reason for problems reported with parsing in 0.8
Status: Beta
Brought to you by:
phil_schwartz
|
From: GeckoX <ge...@ke...> - 2005-03-06 17:32:33
|
I think I might have an idea on why some of my log files cannot be
parsed. It seems that Scratchy cannot handle a user agent of "-". I am
trying to import old logs that I had to convert into "combined" format.
Some of the hits (many of them, actually) had lost their user agent
attribute. I had a "-" placed for those hits' user agents, since that is
(as I understand it) the RFC's recommendation for an entry where the
data is not available or not applicable.
It seems that Scratchy cannot handle this "-" user agent and coughs up
an error about op_sys_id.
I am not familiar with Python and my regex abilities are similar to
those of my 2-year-olds, so I don't know how to fix this.
Can Scratchy be made to handle "-" entries better (at least for user
agents)?
Thanks.
:GeckoX
--
--------------------------------
Freedom is slavery.
Ignorance is strength.
War is peace.
-- George Orwell
|