On Wednesday, December 01, 2004 5:07 PM [GMT],
Jeff Duncan <[EMAIL PROTECTED]> wrote:

> I have two questions:  Analog doesn't seem to be including my
> refering sources. My apache config looks like this:
>
> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
> \"%{User-Agent}i\"" combined
> LogFormat "%h %l %u %t \"%r\" %>s %b" common
> LogFormat "%{Referer}i -> %U" referer
> LogFormat "%{User-agent}i" agent
> CustomLog logs/access_log combined
>
> I have tried several different LOGFORMAT commands and reran the code
> each time with nothing in the output.  i have an apache log like
> this:
>
> 150.230.3.4 - - [01/Dec/2004:11:28:35 -0500] "GET / HTTP/1.1" 304 -
> "http://www.sportsmansresource.com/ffishstripedbass.htm"; "Mozill
> a/4.0 (compatible; MSIE 6.0; Windows NT 5.1)"
>
> Can someone assist with the correct LOGFORMAT command to use?

Have you tried Analog without specifying any LOGFORMAT at all, as the
docs suggest? You've got a fairly bog standard logformat, and the
LOGFORMAT command is only needed for situations where Analog doesn't
recognize the logformat automatically.

If not specifying a logformat doesn't work, then
APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\")
should match your Apache config.

http://analog.cx/docs/logfmt.html

> Second.  I migrated my site to a new server from IIS.  Will analog
> analyze my IIS logs if I move them to the new server?

Analog doesn't care where the logs come from, if it understands them it
will analyze them.

Aengus

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