[analog-help] Empty browser report

2002-01-17 Thread Alain Tesio

Hi, I get these warnings:

analog: Warning R: Turning off empty Browser Summary
analog: Warning R: Turning off empty Operating System Report

However in the configuration file I have:

APACHELOGFORMAT (%B)
LOGFILE /var/log/apache/agent.log

And the file looks like this:

17:27:43 root /etc/cron.weekly #more /var/log/apache/agent.log
Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 6.0  [en]
Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 6.0  [en]
Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 6.0  [en]
Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 6.0  [en]
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; KITV4.6 Wanadoo)
Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 6.0  [en]
 (32K lines)

It's not a file permission problem, I tried running it as root too.

Any idea what's wrong ?

Alain
+
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|http://www.mail-archive.com/analog-help@lists.isite.net/
|http://lists.isite.net/listgate/analog-help/archives/
|http://www.tallylist.com/archives/index.cfm/mlist.7
+



Re: [analog-help] How can I get current weeks log file?

2002-01-17 Thread Aengus

"Patrick Finnegan" <[EMAIL PROTECTED]> wrote:

> AFAIK VBScript is not part of the standard NT build.

It's part of a default IE4/5/6 install - if you're running IIS, you've got
WSH installed. (And the original poster specified Windows 2000, which
definitely has VBscript installed).

> VBScript is not cross platform so if Analog is
> moved to a Unix box VB scripts need to be converted to something else.

If you're already familiar with writing macros in Excel or Word, VBscript
will not pose any significant difficulties. The same can't be said for
perl of Tcl, by any stretch of the imagination.

> This
> is not as unlikely as it sounds.  IT budgets are very tight at the
moment
> and lots of Organizations are switching to Linux rather than upgrading
to
> XP.  Tcl runs on Win32, Unix and Mac.  I am currently running Tcl on
> Windows NT and I learned enough Tcl to write date routines and lots of
> other really useful stuff in two weeks.

I never said that Tcl has no value - I said it's not an obvious (or even a
good) choice for someone starting from scratch in a Windows environment.
The cross-platform nature of perl and Tcl is obviously an advantage, and
in some cases it's enough to make up for the difficulty in learning to use
them. But equally, for many people, the cross platform nature of perl and
Tcl is irrelevant for many people, and the ease of use of VBScript is
likely to be far more important to them.

> Your recommendations on configuring Analog scripts to match specific
file
> names are fatally flawed.

You might want to read my posts again - I didn't make any recommendations
on configuring Analog scripts to match specific file names. In fact, the
only recommendation I made is to use daily logs, rather than weekly logs.

>  For example if the server runs out of space the
> Sys Admin may decide to zip the files.  Analog can read compressed files
> but your script looks for *.log rather than  *.log.zip.   If the log
> files build up and log rotation gets switched from monthly to weekly
your
> script will not match the new file naming conventions.

If the system administrator makes arbitrary changes to the systems
configuration, there's no point in trying to engineer a 5 line script to
cope with all the potential possibilities. Analog won't uncompress a log
file unless it's specifically told to recognize the .zip extension, and
where to find the relevant compresser, so it would require a configuration
change anyway. If you have to change the configuration file, it's hardly a
burden to change the script while you're at it.

> It's better to put all logfiles in one directory, point Analog at that
> directory(LOGFILE D:\logfiles\*) and pass the required dates to Analog.
> Then you can call the logfiles whatever you want.

Reading 6 months worth of log files to generate a 7 day report isn't
"better" for many people.

> Your example script must run on a Monday. For example let's say the MS
> scheduling service fails on a Monday, is restarted on a Tuesday and Sys
> Admin run all the Monday jobs on Tuesday.

If you have to manually intervene to run the scripts, then you can
manually deal with any issues that arise - there's no point in spending 3
hours now to save 1 hour later. (And if you're scheduler is failing even
occassionally, you're solving the wrong problem by fixing the scripts,
rather than the scheduler).

> Your script gets the dates of
> the previous seven days from the day the job is run i.e if run on Monday
> 4th Feb it gets Monday 28th Jan to Sunday 3rd Feb.  If run on Tuesday
5th
> Feb it gets Tuesday 29 Jan to Monday 4th Feb.  If run on a Tuesday it
> will miss the Monday 28th Jan file and the Analog report will be Tuesday
> to Monday rather than Monday to Sunday.  The weekly Tcl script picks up
> the dates for the previous week no matter what day of the week the job
is
> run e.g if run on Sunday 3rd Feb it picks up Monday 21st Jan 2002 to
> Sunday 27th Jan 2002.

So add
  Monday = dateadd("d", - (Weekday(date, 2)), date)
to the script - the script was deliberately kept as simple as possible,
and I explicitly said "Here's a VBScript for analysing the last 7 daily
logs", and I also was quite explicit that it did not meet the original
posters need for handling weekly log files.

> And finally here's a monthly script that picks up the dates for the
> previous month regardless of what day of the month the script is run i.e
> if this script runs on any day during May 2002 it calculates the start
> and end dates of  April 2002.  This is what Monica requested.

No, it's not. She specifically requested WEEKLY log file rotation.

But even if she did want to do monthly reports, the FROM and TO directives
can already do exactly what your script claims to do:
  FROM -00-0101
  TO -00-0131
will analyse the logs from the start to the end of last month, no matter
which day in the current month that you run Analog on (Analog doesn't care
that April only has 30 days - the TO example above is directly from the

Re: [analog-help] help with individual user names

2002-01-17 Thread Stephen Turner

On Thu, 17 Jan 2002, Max Young wrote:

> I've just started using Analog. I followed instructions & it worked fine. However, 
>what I 
> really want is a list of user names & the times they spend on the web site. Is it 
>possible 
> to do this & if so how? I'm running Analog on my PC running Windows 2000.
> 

No. See webworks.html in the docs.

-- 
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|http://www.mail-archive.com/analog-help@lists.isite.net/
|http://lists.isite.net/listgate/analog-help/archives/
|http://www.tallylist.com/archives/index.cfm/mlist.7
+



[analog-help] help with individual user names

2002-01-17 Thread Max Young

I've just started using Analog. I followed instructions & it worked fine. However, 
what I 
really want is a list of user names & the times they spend on the web site. Is it 
possible 
to do this & if so how? I'm running Analog on my PC running Windows 2000.

Cheers

Max


+
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|http://www.mail-archive.com/analog-help@lists.isite.net/
|http://lists.isite.net/listgate/analog-help/archives/
|http://www.tallylist.com/archives/index.cfm/mlist.7
+



Re: [analog-help] Distinct hosts served by month

2002-01-17 Thread Stephen Turner

On Thu, 17 Jan 2002 [EMAIL PROTECTED] wrote:

> Hi,
> 
> I noticed that the number of distinct hosts served is only displayed in
> the summary. Is there a way to display a counter for each month in a
> report for instance instead of just in the summary ? 
> 

docs/faq.html#faq128

-- 
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|http://www.mail-archive.com/analog-help@lists.isite.net/
|http://lists.isite.net/listgate/analog-help/archives/
|http://www.tallylist.com/archives/index.cfm/mlist.7
+



[analog-help] Distinct hosts served by month

2002-01-17 Thread mendez

Hi,

I noticed that the number of distinct hosts served is only displayed in the summary. 
Is there a way to display a counter
for each month in a report for instance instead of just in the summary ?

thanks !

+
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|http://www.mail-archive.com/analog-help@lists.isite.net/
|http://lists.isite.net/listgate/analog-help/archives/
|http://www.tallylist.com/archives/index.cfm/mlist.7
+



Re: [analog-help] about Aliases

2002-01-17 Thread mendez



Oops, yeap ! :-)



   
 
  Stephen Turner   
 
  <[EMAIL PROTECTED]To:   
[EMAIL PROTECTED]   
  site.net> cc:
 
  Sent by:  Subject:  Re: [analog-help] about 
Aliases   
  owner-analog-help@list   
 
  s.isite.net  
 
   
 
   
 
  16/01/2002 11:43 
 
  Please respond to
 
  analog-help  
 
   
 
   
 




On Wed, 16 Jan 2002 [EMAIL PROTECTED] wrote:

>
> Hi,
>
> I want two different URLs to be considered as the same for stats. Here is
> what I wrote in the config file :
>
> REFREPALIAS REGEXP:(www\.techniques\-ingenieur|ti\.idm)\.fr/ "Techniques de 
>l'ingenieur"
>
> Well, the URL are translated, but I still have two lines !
>
> What's wrong ?
>

Nothing. That's what REFREPALIAS is meant to do. Maybe you meant REFALIAS?

--
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

+
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|http://www.mail-archive.com/analog-help@lists.isite.net/
|http://lists.isite.net/listgate/analog-help/archives/
|http://www.tallylist.com/archives/index.cfm/mlist.7
+




+
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|http://www.mail-archive.com/analog-help@lists.isite.net/
|http://lists.isite.net/listgate/analog-help/archives/
|http://www.tallylist.com/archives/index.cfm/mlist.7
+