RE: [analog-help] Analog with windows media logs help

2001-12-10 Thread Stephen Turner

On Sun, 9 Dec 2001, Harshu Kanitkar wrote:

 Hi Aengus,
 
 You are right. sc-bytes is bytes sent from Server to Client. What I
 wanted to know is, how do I configure the config file? I just started to
 use analog 2-3 days back and so have no Idea how I should configure my
 file so that it can read the media logs.
 

It may not need any configuration at all. Have you tried it? What happened?

-- 
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
+



Re: [analog-help] Re: Analog Help Digest V1 #199

2001-12-10 Thread Stephen Turner

On Mon, 10 Dec 2001, Sudhakar wrote:
  
  Analog has a limit to the length of a line it can process. Apparently
  this line it too long (though I'm not sure why Analog wrote it then).
 
 
 Well any way it's stored in the cache file :-) For your information that 
 it is running fine for the daily report.
 
 
 Ok I can exclude this one, But what about if in the future some other 
 URL which is having the same problem? So every time if I come accross 
 this problem then I need to find out the line from the cache file and 
 include those URL in conf. files in the EXCLUDE list. I think this 
 sounds bad isn't? :-)

Analog doesn't check the length of lines when it writes them. Maybe it
should. I guess I have a different attitude to error/warning messages than
most of the world. I'm happy to ignore them if the rest of the file will
still be processed fine.

-- 
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
+



Re: [analog-help] Subset reports

2001-12-10 Thread Stephen Turner

On Sat, 8 Dec 2001, kiosks.org wrote:

 I ran a full monthly report containing everything.  In that report are
 some requests for certain articles. 
 
 I thought I could take those files and use them in a FILEINCLUDE
 /those_files, and exclude everything else, and create a sub-report of
 everything with only those files being used, but when i run it I still get
 the General Summary showing the full stats. 
 

Yes, the FILEINCLUDE does apply to all the reports, including the General
Summary. I can't think what happened. Did the other reports, for example the
Request Report change when the FILEINCLUDE was in operation?

-- 
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] Running Analog

2001-12-10 Thread SpydersWeb Internet Solutions

I have unpacked and installed the analog rpm. It sits in the bin directory,
and I can type at the shell prompt analog and it works.  My question is how
do I install it so I can run it for separate virtual hosting accounts.  I
have tried moving it to the cgi_bin directory of one of my clients accounts
and all I get is a mis-configuration error.

I am guessing that it is something to do with hard linking the program but I
am not sure.

Any help is greatly received.

Regards,

Graham



+
|  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] Subset reports

2001-12-10 Thread kiosks.org

i got it to work. i am sure it was just stupid syntax on my part.

craig

On Mon, 10 Dec 2001 10:51:18 + (GMT)
Stephen Turner [EMAIL PROTECTED] wrote:

 On Sat, 8 Dec 2001, kiosks.org wrote:
 
  I ran a full monthly report containing everything.  In that report are
  some requests for certain articles. 
  
  I thought I could take those files and use them in a FILEINCLUDE
  /those_files, and exclude everything else, and create a sub-report of
  everything with only those files being used, but when i run it I still get
  the General Summary showing the full stats. 
  
 
 Yes, the FILEINCLUDE does apply to all the reports, including the General
 Summary. I can't think what happened. Did the other reports, for example the
 Request Report change when the FILEINCLUDE was in operation?
 
 -- 
 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
 +

-- 
Kiosks.org Association
[EMAIL PROTECTED]

+
|  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] Failed Requests

2001-12-10 Thread jonathan chetwynd

111,000 failed requests
against 66,000 succesful page requests
or about 1/4 of total requests.

they nearly all have teh file:
/scripts/..%255../winnt/system32/cmd.exe
or similar.

can anyone advise me on this, ie how do I stop it?
is it unusual?

I am also looking for a document that might help me analyse my stats for 
'live issues'

I've now read 
http://www.analog.cx/docs/meaning.html and many of the linked documents.

thanks

-- 
jonathan chetwynd

http://www.peepo.com have fun surfing the net
http://www.learningdifficulty.org
+
|  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] Failed Requests

2001-12-10 Thread Jeremy Wadsack


jonathan chetwynd ([EMAIL PROTECTED]):

 111,000 failed requests
 against 66,000 succesful page requests
 or about 1/4 of total requests.

 they nearly all have teh file:
 /scripts/..%255../winnt/system32/cmd.exe
 or similar.

This is the NIMDA worm the has infected lots of IIS servers. If your
server is IIS then make sure you've added the latest security patches
so you aren't infected (although you probably are already if you
haven't applied them and you are getting these entries).


 can anyone advise me on this, ie how do I stop it?
 is it unusual?

Unfortunately it too usual now. There are lots of infected servers out
there that haven't been fixed. You can't really stop it but you can
remove it from the reports with a FILEEXCLUDE command like this:

FILEEXCLUDE /*/cmd.exe

(Check the list archives for a more complete set of exclusions.)


 I am also looking for a document that might help me analyse my stats for 
 'live issues'

I don't know what 'live issues' are. Perhaps you could elaborate.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+
|  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] Running Analog

2001-12-10 Thread Jeremy Wadsack


SpydersWeb Internet Solutions ([EMAIL PROTECTED]):

 I have unpacked and installed the analog rpm. It sits in the bin directory,
 and I can type at the shell prompt analog and it works.  My question is how
 do I install it so I can run it for separate virtual hosting accounts.  I
 have tried moving it to the cgi_bin directory of one of my clients accounts
 and all I get is a mis-configuration error.

 I am guessing that it is something to do with hard linking the program but I
 am not sure.

 Any help is greatly received.

Analog does not run as a CGI. The anlgform.pl script, included in the
distribution provides a CGI interface but you should get Analog
working first from the command line before you even venture into that
area.

A good place to start would be with the included documentation. In the
traditional installations, the documentation starts at
docs/Readme.html in the folder where you unpacked Analog. I don't know
where it is in the rom, but you can use the 'rpm -ql' command to find
it. There are several pages discussing how to setup Analog and there
are also contributed HOW-TOs that describe configuring it for virtual
hosting situation.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+
|  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] Analog with windows media logs help

2001-12-10 Thread Harshu Kanitkar

It is not showing the bytes send.

Harshavardhan Kanitkar
Web Developer 
Instawatch.com


-Original Message-
From: Stephen Turner [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 10, 2001 4:39 AM
To: [EMAIL PROTECTED]
Subject: RE: [analog-help] Analog with windows media logs help

On Sun, 9 Dec 2001, Harshu Kanitkar wrote:

 Hi Aengus,
 
 You are right. sc-bytes is bytes sent from Server to Client. What I
 wanted to know is, how do I configure the config file? I just started
to
 use analog 2-3 days back and so have no Idea how I should configure my
 file so that it can read the media logs.
 

It may not need any configuration at all. Have you tried it? What
happened?

-- 
Stephen Turner, Cambridge, UK
http://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
+



Re: [analog-help] Failed Requests

2001-12-10 Thread jonathan chetwynd

I kinda guessed it was a worm, though I'm slightly amazed it is that easy to 
trace... and no-one seems to be on the case...

Ok so that was a relatively easy stat to pick out as a 'live issue' and there 
remain quite a few failed requests I could sort out myself.

What I'm looking for is a way to get a grip on what is important.
I could throw you ideas like:
Status code report:
234,000 200
but
42,000 404
especially given that total page visits is 65,000
also
67,140 414

quite possibly they are all due to nimda too, and I should concentrate on 
subtle things I can do something about? rather than look for huge holes?

How many hours per 10,000 page requests?

anyway I am looking for some sort of guide, perhaps I just need to find my 
own way...

thanks so much

-- 
jonathan chetwynd

http://www.peepo.com have fun surfing the net
http://www.learningdifficulty.org
+
|  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] Analog with windows media logs help

2001-12-10 Thread Aengus

Harshu Kanitkar [EMAIL PROTECTED] wrote:

 From: Stephen Turner [mailto:[EMAIL PROTECTED]]
 On Sun, 9 Dec 2001, Harshu Kanitkar wrote:

 You are right. sc-bytes is bytes sent from Server to Client. What
 I wanted to know is, how do I configure the config file? I just
 started to use analog 2-3 days back and so have no Idea how I should
 configure my file so that it can read the media logs.

It may not need any configuration at all. Have you tried it? What
happened?

 It is not showing the bytes send.

What is it showing? You'll have to provide more information here - nobody
else is familiar with media server logs. Analog will include byte counts
if it understands the log file, and Analog can parse a logfile
automatically from the #Fields: entry, but only if it recognizes the
#Software: entry above it. You haven't told us if Analog is indicating
problems recognizing the log format, or if it's recognizing it, but not
interpreting it correctly.

Aengus


+
|  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] log format detection fails ?

2001-12-10 Thread Rainer Fuegenstein

Hi,

I experienced a strange problem with analog 5.03 (Unix):

of all web sites running on our server (apache 1.3.x), only
on has HostNameLookups On enabled, therefore writing the 
host name instead of the IP address of the client (if 
resolvable) as first field to the logfile.

- when the first lines of the logfile start with hostnames,
analog reports:

/opt/analog/analog: Warning F: Can't auto-detect format of logfile
  /web1/log/tle.log: ignoring it

- when the first lines of the logfile start with IP addresses, 
analog doesn't complain, it works even if the remaining 90% of
lines start with hostnames instead of IP addresses.

in apache, the logformat is globally set to combined.

the analog configuration is divided into two parts:

1) analog.cfg file has the following lines at the very beginning:

LOGFORMAT combined
LOGFILE access.log
IMAGEDIR /images/
DNSLOCKFILE /tmp/dnscache.lock
DNSFILE /tmp/dnscache
DNS WRITE
[...]

2) a temporary file is generated per site and specified on the command line:

  /opt/analog/analog +g/tmp/anasite.cfg

this is how it looks like for the site in question:

LOGFILE /web/log/tle.log
LOGFILE /web/log/tle.log.*.gz
HOSTNAME www.tle.com
BASEURL http://www.tle.com
OUTFILE /stat/doc/analog/tle.html
CHARTDIR /analog/tle.
LOCALCHARTDIR /stat/doc/analog/tle.


I've got 2 questions/assumptions:

1) is the included config file processed before the main config file so that 
logformat combined gets read after the LOGFILE ... statements and therefore
analog tries to auto-detect the format and fails ? (It didn't work when logformat
combined was specified in the included config file, either).

2) is there a (known) bug that analog isn't able to autodetect a log format when it
starts with hostnames instead of IP addresses ?


this is how the first lines of the tle.log actually look:

m587p009.dipool.highway.telekom.at - - [01/Dec/2001:12:28:08 +0100] GET / HTTP/1.0
200 1624 - Mozilla/4.04 [en] (OS/2; I)
m587p009.dipool.highway.telekom.at - - [01/Dec/2001:12:28:10 +0100] GET
/pics/startanimation.gif HTTP/1.0 200 4176 - Mozilla/4.04 [en] (OS/2; I)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:27 +0100] GET / HTTP/1.1 304
- - Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:27 +0100] GET
/pics/startanimation.gif HTTP/1.1 304 - http://www.thelivingedition.com/;
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:32 +0100] GET /shop.htm
HTTP/1.1 304 - - Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:32 +0100] GET /tle.css
HTTP/1.1 304 - http://www.thelivingedition.com/shop.htm; Mozilla/4.0 (compatible;
MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:33 +0100] GET /shop2.htm
HTTP/1.1 304 - http://www.thelivingedition.com/shop.htm; Mozilla/4.0 (compatible;
MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:33 +0100] GET /logo.htm
HTTP/1.1 304 - http://www.thelivingedition.com/shop.htm; Mozilla/4.0 (compatible;
MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:33 +0100] GET /frame_up.htm
HTTP/1.1 304 - http://www.thelivingedition.com/shop2.htm; Mozilla/4.0 (compatible;
MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:33 +0100] GET /home.htm
HTTP/1.1 304 - http://www.thelivingedition.com/shop2.htm; Mozilla/4.0 (compatible;
MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:33 +0100] GET /menu0.html
HTTP/1.1 304 - http://www.thelivingedition.com/shop2.htm; Mozilla/4.0 (compatible;
MSIE 5.01; Windows NT 5.0)
n192p014.adsl.highway.telekom.at - - [01/Dec/2001:12:28:33 +0100] GET
/pics/mu_thedesigner.gif HTTP/1.1 304 - http://www.thelivingedition.com/logo.htm;
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

tnx in advance for any help.

cu
+
|  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] new IE in beta

2001-12-10 Thread Derek Sisson

Just saw the following user-agent signature: Mozilla/4.0 (compatible; MSIE 7.0beta; 
Windows NT 8.0)

apparently ie 7 is in internal beta at microsoft; no idea what NT 8.0 is. Analog 5.13 
parsed the 7.0 out great, but no sign of that NT 8.0. 

is that a problem, or does NT 8.0 correspond to one of the displayed windows flavors?

best,
--derek

+
|  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] new IE in beta

2001-12-10 Thread Jeremy Wadsack


Derek Sisson ([EMAIL PROTECTED]):


 Just saw the following user-agent signature: Mozilla/4.0
 (compatible; MSIE 7.0beta; Windows NT 8.0)

 apparently ie 7 is in internal beta at microsoft; no idea what NT
 8.0 is. Analog 5.13 parsed the 7.0 out great, but no sign of that NT
 8.0.

 is that a problem, or does NT 8.0 correspond to one of the displayed
 windows flavors?

More likely this is someone who just set up a an agent to give that
string. I doubt that it's real, unless the IP address of the request
resolves to microsoft.com.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+
|  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] log format detection fails ?

2001-12-10 Thread Jeremy Wadsack


Rainer Fuegenstein ([EMAIL PROTECTED]):

 the analog configuration is divided into two parts:

 1) analog.cfg file has the following lines at the very beginning:

 LOGFORMAT combined
 LOGFILE access.log
 IMAGEDIR /images/
 DNSLOCKFILE /tmp/dnscache.lock
 DNSFILE /tmp/dnscache
 DNS WRITE
 [...]

 2) a temporary file is generated per site and specified on the command line:

   /opt/analog/analog +g/tmp/anasite.cfg

 this is how it looks like for the site in question:

 LOGFILE /web/log/tle.log
 LOGFILE /web/log/tle.log.*.gz
 HOSTNAME www.tle.com
 BASEURL http://www.tle.com
 OUTFILE /stat/doc/analog/tle.html
 CHARTDIR /analog/tle.
 LOCALCHARTDIR /stat/doc/analog/tle.


 1) is the included config file processed before the main config file
 so that logformat combined gets read after the LOGFILE ...
 statements and therefore analog tries to auto-detect the format and
 fails ? (It didn't work when logformat combined was specified in
 the included config file, either).


LOGFORMAT only applies to following LOGFILE lines in the same
configuration file. If you want it to apply to LOGFILE lines in
another configuration file (or logfiles included on the command line)
use the DEFAULTLOGFORMAT command.

The default configuration file (analog.cfg) is processed before any
configuration files specified with +g. The mandatory configuration
file (if defined at compile time) is processed last.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+
|  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] Tool to replace data in log files prior to Analog processing?

2001-12-10 Thread Dale Therio

Hello,

My primary webserver has had a problem with it's battery. As a 
result whenever it would restart (due to a memory leak in the 
webserver app it seems), the server date was set to 1904 until 
the time server tool kicked in.

As a result, I now have many lines in my server log files that 
show the wrong date and are of course excluded from being 
processed.

Does anyone know of a tool that could *quickly* replace the 
date string (I really don't care that much about the time) in 
a bunch of log files?

I need something that runs on a Mac with OS 9.x

Thanks

Dale
+
|  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] Tool to replace data in log files prior to Analog processing?

2001-12-10 Thread Jeremy Wadsack


Dale Therio ([EMAIL PROTECTED]):

 Hello,

 My primary webserver has had a problem with it's battery. As a 
 result whenever it would restart (due to a memory leak in the 
 webserver app it seems), the server date was set to 1904 until 
 the time server tool kicked in.

 As a result, I now have many lines in my server log files that 
 show the wrong date and are of course excluded from being 
 processed.

 Does anyone know of a tool that could *quickly* replace the 
 date string (I really don't care that much about the time) in 
 a bunch of log files?

 I need something that runs on a Mac with OS 9.x

Perl? http://www.macperl.com/

Of course, some assembly is required.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+
|  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] Tool to replace data in log files prior to Analogprocessing?

2001-12-10 Thread r

Is BBEdit out of the question?
http://www.bbedit.com/products/bbedit_lite/lite-download.html
I think you can do a search and replace on a file (or number of files)
without having to load them into memory.


Russell


On Mon, 10 Dec 2001, Dale Therio wrote:

 Hello,
 
 My primary webserver has had a problem with it's battery. As a 
 result whenever it would restart (due to a memory leak in the 
 webserver app it seems), the server date was set to 1904 until 
 the time server tool kicked in.
 
 As a result, I now have many lines in my server log files that 
 show the wrong date and are of course excluded from being 
 processed.
 
 Does anyone know of a tool that could *quickly* replace the 
 date string (I really don't care that much about the time) in 
 a bunch of log files?
 
 I need something that runs on a Mac with OS 9.x
 
 Thanks
 
 Dale
 +
 |  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
+



Re: [analog-help] Tool to replace data in log files prior to Analog processing?

2001-12-10 Thread Dale Therio

Hi,

Thanks for the suggestions. Unfortunately BBEdit is out of the 
question as it is unfortunately way too slow for this. These 
are 50-75 meg log files. I tried to do something like this 
with BBedit once in the past and it took more than 24 hours to 
parse 1 large file.

I did however find a program that is working great. It is 
Torquemada, a shareware product by someone that wrote it for 
DTP and Web purposes. And it doesn't balk at large files. 
Found it on Versiontracker.

And no, this isn't na ad for that product, I don't know the 
author, it is working for me so I am mentioning it.

Thanks again.

Dale

On Mon, 10 Dec 2001 15:21:53 -0500 (EST)
  [EMAIL PROTECTED] wrote:
Is BBEdit out of the question?
http://www.bbedit.com/products/bbedit_lite/lite-download.html
I think you can do a search and replace on a file (or number 
of files)
without having to load them into memory.


Russell


On Mon, 10 Dec 2001, Dale Therio wrote:

 Hello,
 
 My primary webserver has had a problem with it's battery. As 
a 
 result whenever it would restart (due to a memory leak in 
the 
 webserver app it seems), the server date was set to 1904 
until 
 the time server tool kicked in.
 
 As a result, I now have many lines in my server log files 
that 
 show the wrong date and are of course excluded from being 
 processed.
 
 Does anyone know of a tool that could *quickly* replace the 
 date string (I really don't care that much about the time) 
in 
 a bunch of log files?
 
 I need something that runs on a Mac with OS 9.x
 
 Thanks
 
 Dale
+
|  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] Re: Tool to replace data in log files prior to Analog processing?

2001-12-10 Thread Klaus Johannes Rusch

On Mon, 10 Dec 2001, Dale Therio wrote:

 My primary webserver has had a problem with it's battery. As a
 result whenever it would restart (due to a memory leak in the
 webserver app it seems), the server date was set to 1904 until
 the time server tool kicked in.

 As a result, I now have many lines in my server log files that
 show the wrong date and are of course excluded from being
 processed.

 Does anyone know of a tool that could *quickly* replace the
 date string (I really don't care that much about the time) in
 a bunch of log files?

Assuming the date is the only field containing a date-like string, something 
like

perl -n -p -e 's!(\d\d/[A-Z][a-z][a-z])/1904)!$1/2001/' logfile

should work.

-- 
Klaus Johannes Rusch
[EMAIL PROTECTED]
http://www.atmedia.net/KlausRusch/
+
|  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] grouping file types together

2001-12-10 Thread r

What is the best way to group .htm and .html file names together in the
File Type Report? I thought TYPEOUTPUTALIAS would do it but I am only able
to get FILEALIAS *htm $1html to group and add the numbers
together. This seems like a hack, is there a better way?

Russell


+
|  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] grouping file types together

2001-12-10 Thread Jeremy Wadsack


[EMAIL PROTECTED] ([EMAIL PROTECTED]):

 What is the best way to group .htm and .html file names together in the
 File Type Report? I thought TYPEOUTPUTALIAS would do it but I am only able
 to get FILEALIAS *htm $1html to group and add the numbers
 together. This seems like a hack, is there a better way?

That's the way to do it. TYPEOUTPUTALIAS will not combine entries in
the report, just alias their output values.

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+
|  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
+