Stephen,

Thanks again.  I think I am missing something here!  I pass along my command
line and a section from my cfg file, for with these I will get my own host
included (although from the command line, as you suggest) I do not

/Joel ([EMAIL PROTECTED])

COMMAND:
analog -G +gme.cfg


SECTION FROM MY CFG FILE (me.cfg)

HOSTALIAS 192.168.0.2 www.foo.org
HOSTEXCLUDE www.foo.org

SUBBROW */*.*
DNS WRITE

# REQINCLUDE pages
# LINKINCLUDE pages
# REFLINKINCLUDE *

# Whether each report is wanted: see docs/output.html
DIRECTORY ON
FILETYPE ON
GENERAL ON
MONTHLY ON
DAILY ON
FULLDAILY ON
WEEKLY ON
HOURLY ON
FULLHOURLY OFF
QUARTER OFF
FIVE OFF
DOMAIN ON
ORGANISATION ON
REQUEST OFF
REDIR OFF
FAILURE OFF
SIZE OFF
PROCTIME OFF
HOST ON
REFERRER OFF
REFSITE OFF
REDIRREF OFF
FAILREF OFF
VHOST OFF
USER OFF
FAILUSER OFF
SEARCHQUERY OFF
SEARCHWORD OFF
BROWSER ON
FULLBROWSER ON
OSREP ON
STATUS OFF

---------

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Turner
Sent: Tuesday, February 27, 2001 9:36 AM
To: [EMAIL PROTECTED]
Subject: RE: [analog-help] HOSTEXCLUDE

On Mon, 26 Feb 2001, Joel R. Finkel wrote:
>
> In the following example, I simply want the stats to exclude the inclusion
> of 192.168.0.2.
>
> 2001-02-20 15:52:35 192.168.0.2 GET /WebStats/images/analogo.gif
> Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0)
> http://www.foo.org/WebStats/report_me.html
> [... more lines ...]
>
> >
> > HOSTALIAS 192.160.0.2 www.foo.org
> > HOSTEXCLUDE www.foo.org
> >

With the correction 160 -> 168, this works fine for me. For example,

analog ~/tmp/he.log -G -A +Sr1 +a +C"HOSTALIAS 192.168.0.2 www.foo.org" \
  +C"HOSTEXCLUDE www.foo.org"

(where ~/tmp/he.log is your logfile) produced:

General Summary
---------------
Successful requests: 0
Logfile lines without status code: 7
Distinct hosts served: 1
Unwanted logfile entries: 4
----------------------------------------------------------------------------

Host Report
-----------
Listing hosts with at least 1 request, sorted by the number of requests.

reqs: %bytes: host
----: ------: ----
   4:       : 216.80.53.121
----------------------------------------------------------------------------

whereas without the HOSTEXCLUDE it produced:

General Summary
---------------
Successful requests: 0
Logfile lines without status code: 11
Distinct hosts served: 2
----------------------------------------------------------------------------

Host Report
-----------
Listing hosts with at least 1 request, sorted by the number of requests.

reqs: %bytes: host
----: ------: ----
   4:       : 216.80.53.121
   4:       : www.foo.org
----------------------------------------------------------------------------

(I tried it with 4.16 and 4.90beta3.)

--
Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
  Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
  "Your account can only be used for a single internet session at any one
   time and for no more than 24 hours in any one day." (NTL terms of use)


------------------------------------------------------------------------
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]/
------------------------------------------------------------------------


------------------------------------------------------------------------
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]/
------------------------------------------------------------------------

Reply via email to