[EMAIL PROTECTED] wrote:
> A client is running Lotus notes. It creates 4 logfiles each day
> which is kept in the same directory.
>
> The logfiles are named
>
> log-access09222000.log
> log-agent09222000.log
> log-referer09222000.log
> log-err09222000.log
>
> I'm only interested in analysing the access and referer logs.
>
> I can analyse a file at a time, but need to analyse the series of files
> into a single report - and struggle to get this done.
You just need two LOGFILE commands:
LOGFILE log-access*.log
LOGFILE log-referrer*.log
> 208.177.227.117 www.yyyy.co.za -
> [22/Sep/2000:00:16:50 -0200] "GET / HTTP/1.0"
> 200 6317
> 131.179.96.41 196.33.48.195 -
> [22/Sep/2000:00:25:06 -0200] "HEAD / HTTP/1.0"
> 200 0
>
> Referrer
> [26/Sep/2000:00:01:11 -0200]
> "http://www.google.com/search?q=Cream-
> +milk&btnG=Google+Search"
> [26/Sep/2000:00:01:13 -0200]
> "http://www.yyyy.co.za/education/dairystory/pg7e.
> htm"
> [26/Sep/2000:00:01:15 -0200]
> "http://www.yyyy.co.za/education/dairystory/pg7e.
> htm"
You may also need LOGFORMAT commands:
LOGFORMAT COMMON
will parse the first one, though you'll get a User Report with data from your
virtual hosts (If that's what that is). The referrer should be as simple as:
LOGFORMAT ([%j] "%f")
See docs/logfmt.html and docs/logfile.html for details.
HTH,
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------