generating www reports on subdirecties of website (was: Re: lire optie? ...)
Stijn van Dongen
stijn at diff.nl
Mon Oct 14 10:58:35 CEST 2002
Hi,
> > aparte reports genereren voor micans.org/stijn en micans.org/mcl (of nog
> > algemener voor een willekeurige subdirectory).
> >
> > kan dat, en heb je een pointer naar documentatie indien ja?
>
> A way to tackle your problem is to use a predefined filter, e.g. the
> exclude-url.xml filter, which gets installed in
> ..../share/lire/filters/www/ . This filter is used in the default
> www.cfg report specification:
>
> =section Download Reports
> |select-url url_match="\\.(gz|tgz|zip|exe|pdf|doc)$"
> requests-by-period period=1d
> top-requested-page page_to_show=10
> top-urls-by-client_host url_to_show=5 client_to_show=10
>
> .
>
> You could tweak your own configuration in ~/.lire/etc/www.cfg , and add
> a |select-url at relevant places. See also "The Report's Configuration
> File" in Chapter 5 of the Lire User Manual.
thx for the pointers; I now have different config files for the two
main subdirectories. What I have is e.g.
=section Accessed Pages Reports
|exclude-url url_match="\\.(png|gif|jpg|jpeg|css)$"
|select-url url_match="^\/mcl"
=section Session Reports
|select-sessions-by-page page_match="^\/mcl"
=section Download Reports
|select-url url_match="^\/mcl\/.*\\.(gz|tgz|zip|exe|pdf|doc)$"
=section Search Engines and "Referers"
|exclude-referer referer_match="^-$|stijn"
I found
http://logreport.org/pub/current/doc/user-manual/ch17s04.html#sect:filter.www.select-url
to be helpful.
Perhaps this setup is still very dumb, rub it in if so. One thing that comes
to mind is that I don't do anything with (a private copy of)
/usr/share/lire/filters/www/exclude-url.xml
regards,
Stijn
--
To UNSUBSCRIBE, email to questions-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
questions-request at logreport.org
More information about the Questions
mailing list