You'll need to do this outside of Analog. Analog has no facility for filtering on bytes. I would suggest running a perl or shell script to do this.

You could harness the UNCOMPRESS command to do this too -- it's just a hook to an external log processor.

--
Jeremy Wadsack
Seven Simple Machines



Connors, Bernie (ELG/EGL) wrote:

Hello,

nobody has responded to my posting from yesterday yet (see below) but from what I have read in a few recent postings I beleive I can exclude log records based on bytes transferred by using a Perl style REGEXP.

        Does Analog process the REGEXP on its own or do I need to install Perl?

Thanks,
Bernie.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Connors, Bernie
(ELG/EGL)
Sent: Wednesday, April 13, 2005 4:11 PM
To: [email protected]
Subject: [analog-help] Excluding log records by 'bytes transferred'


Hello,

        Can Analog exclude log records based on the number of bytes 
transferred?  I want to exclude insignificant requests that are 140 bytes or 
less.  My users can easily generate thousands of these requests and they are 
skewing my reports. Here is a sample line from my log file.  The value for 
bytes transferred follows the time stamp ( 958 in this example ):

142.139.214.57 142.139.214.57 200 [12/Apr/2005:10:04:43 -0400] 958 
/SpatialFusionEnterprise/servlet/OpenCiteServlet

        I read the documentation on the INCLUDE / EXCLUDE commands and I don't 
think Analog can do this.

Thanks,
Bernie.
--
Bernie Connors, P. Eng.
Geomatics Manager
New Brunswick Department of the Environment & Local Government
TEL: 506-453-4333  FAX: 506-462-2029
E-MAIL: [EMAIL PROTECTED]
LOCATION: 45�58'41"N, 66�35'21"W






+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general | List archives: http://www.analog.cx/docs/mailing.html#listarchives +------------------------------------------------------------------------

Reply via email to