Thank you
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, 27 September 1999 21:47 (pm)
To: '[EMAIL PROTECTED]'; [EMAIL PROTECTED]
Subject: Re: [analog-help] Stats for 1 Directory Only
You could just use the FILEINCLUDE directive to just specify the
directory you are interested in,
FILEINCLUDE /subweb/*
But if you need to do this for more than one department, I'd recommend
that you consider extracting the requests for that particular directory
into a seperate log file, and running reports against that (or better
yet, giving that seperate log to the people who are responsible for that
directory, and letting them run their own reports).
The exact details of how best to create this "mini-log" will depend on
the platform, and the logformat that you are using, but the reference to
FrontPage SubWebs suggests that you're using IIS4. I used the following
batch file to seperate out specific subdirectories from W3C Extended
logs that are rolled daily, into a monthly logfile for August:
-------
@echo off
echo #Date: > headers.txt
echo #Fields: >> headers.txt
SETLOCAL
echo #Software: Microsoft Internet Information Server 4.0 > %1_Aug.log
for /l %%f in (801,1,831) do findstr /i /c:" /%1/" /g:headers.txt
ex990%%f.log >> %1_Aug.log
ENDLOCAL
del headers.txt
-------
The batch file is called with 1 parameter, the subweb I want to extract.
Because the log is in W3C Extended format, I need to capture any the
#Fields entries, and I also want to capture any #Date fields, so I
record these strings in headers.txt. The FINDSTR command will search for
any line containing a specified string (/c: parameter), as well as any
commands specified in header.txt (/g:parameter). I use a FOR loop to
search the daily log files in order. Analog requires the #Software line
at the start of the log.
The batch file is month specific, so you have to modify it each month.
If you use NCSA or IIS format, or if you use monthly log files, the task
is event simpler
Aengus
______________________________ Reply Separator
_________________________________
Subject: [analog-help] Stats for 1 Directory Only
Author: [EMAIL PROTECTED] at Internet
Date: 9/27/99 11:54 AM
Hi,
I am trying to produce stats for just one website on my server and cannot
see how to accomplish this.
Scenario.
1. Large log file for all of web.
2. Web is root plus 200 departmental webs held as FrontPage sub webs
off the main root web.
3. I can generate report for all of web (root and 200 departments /
(sub webs))
4. Department X wants reports for just department X (sub web).
How can I please just extract details of department X (sub web).
Thanks
> kind regards
>
> Julian Bourne
> ------------------------------------------------
> Origin Channels Management Services
> Building VH, Room 1.08
> P.O. Box 218
> 5600 MD Eindhoven
> The Netherlands
>
> tel no. +31 (0)40 275 1148 (Office Shared)
> fax no. +31 (0)40 275 61 85
>
> tel no. +31 (0)40 275 84 56 (Office Private)
> mob no. +31 (0)6 200 15 019
> mobex. +31 (0)40 279 4908
>
> email: [EMAIL PROTECTED]
> email: [EMAIL PROTECTED]
> email: [EMAIL PROTECTED]
>
> www: http://www.origin-it.com (Work)
>
> www: http://www.britesc.com (Private : .net .co.uk .es .nu)
>
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------