Re: [webalizer] Grouping by regex?
- What I'm struggling with is :
Given files of the format of:
I'd like to gather statistics on:
GroupURL *drill All-drills-all-classes
(should I remove the wildcard from that to get the drill1, drill2 thing?
trying both with and without the wildcard doesn't seem to be working
GroupURL *dialog All-dialogs-all-classes
GroupURL class1* class1-downloads
GroupURL class2* class2-downloads
class1/lesson1drill1 should register both in All-drills-all-classes, AND
And class1/lesson1drill1, class1/lesson1drill2, and class2/lesson1drill1
should all register in All-drills-all-classes.
Any Idea how to make this work?
And how can I get the class3/Lesson2Drill1 to show up in the same group
as class1/lesson1drill1? (I.E. I have some capitalization differences
in filenames -- is there a way to ignore case in the regex matching
(and I'd LOVE to get *lesson1* (etc.) statistics..... but we can only
use 1 wildcard? Do you do that by dropping the wildcards altogether?
This would be really nice to see if there is a trend of people using
earlier lesson materials v.s. later lesson materials, etc.)
How exactly do the wildcards work: do they act as an anchor --
everything before this must be the exact url, and then whatever after?
or this url can have whatever, but once it hits this textstring it must
end with it? Is this even a coherent question or am I too low on
Does can anyone point me at some good COMPLICATED examples of grouping?
On Fri, May 17, 2002 at 02:09:31PM +0200, Kees de Keizer wrote:
> Mathias Homann wrote on 17-05-2002:
> > > > is it possible to group/hide urls by regular expressions?
> > > # The value can have either a leading or trailing '*' wildcard
> > > # character. If no wildcard is found, a match can occur anywhere
> > But I could group stuff like /*/cmd.exe and the like?
> > How about more that one url string in a group/hide statement?
> > I'd like to:
> > GroupURL */cmd.exe,*/root.exe Nimda Attack!
> > HideURL */cmd.exe,*/root.exe
> > etc etc
> GroupURL *.exe Nimda Attack!
> HideURL *.exe
> This will include other executables, taken from your server.
-- Matthew K. Bixby