RE: multiple domains one log file

"Hildreth, Steve" <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
I attempted to implement the parameter below and was not successful.
Let me include a couple line from a log file to make sure I correctly
explained what I am asking.  Also, I am using analog 5.32.

What I am trying to report on are all log entries that are for the
domain www.lastudentscount.org while excluding all log entries for the
domain www.lausd.net.


10.82.26.193 - - [04/Mar/2008:10:05:27 -0800] "GET
/Clinton_MS/work_files/compass.gif HTTP/1.1" 304 -
"http://www.lausd.net/Clinton_MS/" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"

204.108.65.10 - - [04/Mar/2008:10:10:18 -0800] "GET /images/LAUSDmap.jpg
HTTP/1.1" 200 441023 "http://www.lastudentscount.org/aboutlausd.html"
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"

Thanks,


Steve
-----------------------------------
Steve Hildreth
Office: 213-241-1691
Cell: 213-215-8195
[email protected]


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Aengus
Sent: Tuesday, March 04, 2008 9:43 AM
To: Support for analog web log analyzer
Subject: Re: [analog-help] multiple domains one log file

Hildreth, Steve <[email protected]> wrote:
> I have one access log that contains information for multiple virtual
> domains.  Can someone help me out with the parameter that will allow
> me to pull out only the information for one (or two domains)?

If each line of the log file includes a field that indicates which
"VHOST" (in Analog terminology) that the entry belongs to, and your
LOGFORMAT as %v in that position, then VHOSTINCLUDE will tell Analog to
only generate a report for the entries that match the specified VHOSTs.

For example:

1.2.3.4 - - server1 [2007/Mar/2008:00:55:43 -0500] "GET /index.html
HTTP/1.1" 200

LOGFORMAT (%S %u %j %v [%d/%M/%Y:%h:%n:%t %j] "%j %r %j" %c)


VHOSTINCLUDE server1

Aengus

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

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.