[analog-help] Analyzing virtual domains
Jeremy Wadsack
jwadsack at wadsack-allen.com
Thu May 15 11:02:45 PDT 2003
Kevin Rattai (kevin at uveais.ca; Thursday, May 15, 2003 10:40 AM):
> One log file, multiple domains. I want to be able to view within a
> single report, how many requests per virtual domain, or better yet,
> in the single report (maybe using report magic) to have each virtual
> domain split out, but still in the same report file.
> What I can't figure out is how to do this. The virtdoms.cfg example
> is confusing (for me) and my log file seems to be set up different
> from "traditional" log files. I use OmniHTTPd. An example of one
> log file line is:
> crawl27.googlebot.com bjlug.dhs.org - [15/May/2003:12:37:28 -0500] "GET /modules.php?name=Top HTTP/1.0" 200 - "" "Googlebot/2.1 (+http://www.googlebot.com/bot.html)"
> If the above doesn't send through, the wordwrapped version is:
> crawl27.googlebot.com bjlug.dhs.org - [15/May/2003:12:37:28 -
> 0500] "GET /modules.php?name=Top HTTP/1.0" 200 - ""
> "Googlebot/2.1 (+http://www.googlebot.com/bot.html)"
> Can anyone point me in the right direction? Thanks...
If your log file has requests from several virtual domains, but there
is nothing in the log file to distinguish them, there is no way for
Analog to do that either.
You need to change your log file format (in OmniHTTPD) to include the
virtual domain in a field on each line of the log.
Then you can use Analog's LOGFORMAT command to create a custome log
file format for Analog using the '%v" to indicate where the vitual
domain field is. Analog can then generate the Virtual Hosts report
which will give you a comparision of each site. See
http://analog.cx/docs/logfmt.html.
To generate a report for all hosts and one for each host, you will
have to run Analog once for each report you run. Use the VHOSTINCLUDE
command to limit the report to a particular virtual host. See
http://analog.cx/docs/include.html.
--
Jeremy Wadsack
Wadsack-Allen Digital Group
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| Digest version: http://lists.isite.net/listgate/analog-help-digest/
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------
More information about the analog-help
mailing list