On Wed, 27 Oct 1999 09:28:21 -0700, Jeremy Wadsack wrote:
>
>
>Bryan wrote:
>
>> I'm running "analog3.90beta1" under Windows and I'm trying to parse refers
>> from log files from an  OS/2 install of Domino web server. I can get anything that
>> uses the primary log to work fine under Analog (ie, standard reports on traffic), 
>but
>> since my refers are in a different file, I'm stuck... I've been beating my head at 
>this
>> for a few days now and am about to give up...
>>
>> What I have to work with is this:
>> ----------------------------------------------------------------------
>>
>> file:
>>         \httpd-log.*
>> first line:
>>         204.189.33.89 - - [22/Oct/1999:00:00:06 +0700] "GET /example.html HTTP/1.1" 
>304 0
>>
>> file:
>>         \referer-log.*
>> line:
>>         [22/Oct/1999:00:00:06 +0700] "http://www.example.site/index.html"
>>
>> ----------------------------------------------------------------------
>> the above is the filename I have, and the exact lines from each file that go 
>together.
>>
>> How do I set up the analog .cfg to parse this?
>>
>> Any help would be greatly appriciated.
>
>To get Analog to read both sets of files you'll need to include both in your logfile 
>spec:
>    LOGFILE httpd-log.*
>    LOGFILE referer-log.*
>
>If Analog doesn't autdetect the logformat for the referrer log add this line before 
>the
>referrer log LOGFILE line:
>    LOGFORMAT ([%d/%M/$Y:%h:%n:%j %j] "%f")
>
>HTH,
>

Hmm... Thank-you for the help, here are my results...

C:\analog>analog
C:\ANALOG\ANALOG.EXE: Warning C: Bad argument in configuration command: ignoring it:
  LOGFORMAT [%d/%M/$Y:%h:%n:%j %j] "%f"
C:\ANALOG\ANALOG.EXE: ..cont...:   (reason: time without date or vice versa)
  (For help on all errors and warnings, see docs/errors.html)
C:\ANALOG\ANALOG.EXE: Warning R: Turning off empty Referrer Report
C:\ANALOG\ANALOG.EXE: Warning R: Turning off empty Referring Site Report

I looked at the docs, and agree that this looks like the right LOGFORMAT command,
I even tried putting a "\n" at the end of the line and the same thing happened.

Any other suggestions?

Thanks,

Bryan



------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to