Re: [webalizer] Problem using GroupAgent
- From the file on my signature, where you can also find a bizarro agent
list :) , read this:
# NOTE: You may also set "MangleAgents 4" and comment the list below so
# will kind of group them by itself. Using the list is slower
but has less false positives.
The GroupAgent line you put here won't do anything in a former line
already catches all Firefox entries. For example, in this example both
IE and Firefox will never be grouped, because they are already
"catched" by the Mozilla line (all IE and Firefox agents use the word
"Mozilla" somewhere on its name):
GroupAgent Mozilla Mozilla
GroupAgent IE Internet Explorer
GroupAgent Firefox Firefox
I think that Webalizer currently provides no way to catch the language,
operative system, etc. Also, it won't accept spaces on the browser
name, so you can't try to use things like:
GroupAgent IE 6.0 Internet Explorer version 6.0
because webalizer breaks the browser name on the first space and this
line will catch all entries containing "IE", including "IE 6.0", "IE
5.0" and "thisisapieceofpie" (moreover, it stops when it finds pIEce
and never actually arrives to pIE).
--- John <joliver@...> wrote:
> I found a huge list of GroupAgent lines that were, I guess, supposedEnric Naval
> to make the Agents show up as, say, "Firefox" instead of "Mozilla/5.0
> (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/20060111
> Firefox/184.108.40.206" and the 1,001 other variations. But they're all for
> bizarro browsers I've never heard of. I've been trying to understand
> what and how groupAgent works, but I'm drawing a blank. It doesn't
> seem to be like a grep, where if a given value appears anywhere in
> log entry, then it's considered. I tried:
> GroupAgent Firefox Firefox
> That doesn't work. So... what would be the cleanest way to group
> Firefoxes, Netscapes, Safaris, etc. that will work with the millions
> of variations for each (X11 vs. Mac vs. Windows 5.0 vs. Windows 5.1
> vs. Win 9x, and then all the languages, and then other variations)?
> Or, if there's a way to explain just how GroupAgent works so I can
> bang on it some more...
Estudiante de Informática de Gestión en la Udl (Lleida)
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around