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

Reply via email to