[analog-help] NT-Logformat
Hello, with no luck I tried to open a Windows NT Logfile with analog 4.1.6 on Mac OS 9.1 LOGFORMAT AUTO says: Warning F: Microsoft logfile with ambiguous dates: use LOGFORMAT MICROSOFT-NA or LOGFORMAT MICROSOFT-INT I tried both but the report is empty and the warning is "try different logformat". One Line from the Logformat is: 64.221.252.162, -, 01.03.01, 00:20:14, W3SVC4, ISRV03, www.vita-zahnfabrik.com, 161, 176, 4792, 200, 0, GET, /main.asp, push=true&struktur=020&lang=1&page=265, Thanks for help, Hilmar + | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to |http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at |http://www.mail-archive.com/analog-help@lists.isite.net/ |http://lists.isite.net/listgate/analog-help/archives/ |http://www.tallylist.com/archives/index.cfm/mlist.7 +
Re: [analog-help] APACHELOGFORMAT
Dear Steven Turner Dear Jeremy Wadsack Hallelujah it works. Thanks a lot. Hilmar > DEFAULTLOGFORMAT not LOGFORMAT combined with LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b %v "%f" "%B") LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b %v "%f" "%B") This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] APACHELOGFORMAT
Thanks Jeremy Wadsack, I tried the two command lines. The error file says: analog: Warning L: Large number of corrupt lines in logfile %%%: try different LOGFORMAT Current logfile format: %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n > >> dear analog comunity, >> >> 212.33.57.139 - - [03/Jul/2000:09:47:26 +0200] "GET /style/intro.css >> HTTP/1.1" 200 433 www.quai.de "http://www.quai.de/" "Mozilla/4.0 >> (compatible; MSIE 5.01; Windows 98)" >> >> what can I do with a logfile like this? >> > > If you look at the examples in docs/logfmt.html, you'll see that the > line you give is very similar to Combined Log Format. I just has a > virtual host field between the bytes and referrer. Inserting %v in the > formats given in docs/logfmt.html gives these (one line for each command): > > LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b %v "%f" "%B") > LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b %v "%f" "%B") > > > Good luck. > > -- > > Jeremy Wadsack > Wadsack-Allen Digital Group This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] APACHELOGFORMAT
dear analog comunity, 212.33.57.139 - - [03/Jul/2000:09:47:26 +0200] "GET /style/intro.css HTTP/1.1" 200 433 www.quai.de "http://www.quai.de/" "Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)" what can I do with a logfile like this? > > If you don't know enough about Apache configuration to find the > information you could post three lines from your logfile to the list and > perhaps someone will come up with a LOGFORMAT command for you. > Thanks for your help! Hilmar This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] APACHELOGFORMAT
Thanks for your kind answers. I must apologize for not having discribed exactly every step I followed to make analog running. 1. I took the logformat Aengus kindly proposed: APACHELOGFORMAT (%{Host}i %h %l %u %t \"%r\" %S %b %{Host}i \"%{Referer}i\" \"%{Useragent}i\") and put it as one line into the analog.cfg file. analog error file gives back: Large number of corrupt lines in logfile %%%: try different LOGFORMAT Current logfile format: %j %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %j %b %j"%f" "%j"\n 2. same with APACHEDEFAULTLOGFORMAT then I went with Jeremy Wadsack 3. APACHEDEFAULTLOGFORMAT (%{Host}i %h %l %u %t "%r" %S %b %{Host}i"%{Referer}i" "%{Useragent}i\\\") which looks a bit different from the one Aengus gave me before. I took it in one line. error: Opening %%% as logfile Detect that it's in NCSA combined format Bad argument in configuration command: ignoring it: APACHEDAFAULTLOGFORMAT -> DEFAULTLOGFORMAT (%j %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %j %b %j"%f" "%j\") analog: ...cont..: (reason: an unknown escape sequence is present) 4. as J. Wadsack also told I put in .cfg a space between the %{Host}i and "%{Referer}i": APACHEDEFAULTLOGFORMAT (%{Host}i %h %l %u %t "%r" %S %b %{Host}i "%{Referer}i" "%{Useragent}i\\\") I put it in one line. analog error: Opening %%% as logfile Detect that it's in NCSA combined format Large number of corrupt lines in logfile %%%: try different LOGFORMAT Current logfile format: %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n 5. next trial, told me by J. Wadsack, to delete the second %{Host}i: APACHEDEFAULTLOGFORMAT (%{Host}i %h %l %u %t "%r" %S %b "%{Referer}i" "%{Useragent}i\\\") which seems to give exactly the same error message as 4.. 6. tried: space between the %{Host}i and "%{Referer}i" and: delete the second %{Host}i with the format Aengus told me to use error: Large number of corrupt lines in logfile %%%: try different LOGFORMAT I do really appreciate and follow every hint. What else can I try? Regards Hilmar P.S. The funny thing is, with logfiles of my friends I have no problem to make analog running. The analysis is easy and perfect! This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] APACHELOGFORMAT
I tried: APACHEDEFAULTLOGFORMAT APACHELOGFORMAT and LOGFORMAT All not working with my logformat specification: (%{Host}i %h %l %u %t \\\"%r\\\" %S %b %{Host}i\\\"%{Referer}i\\\" \\\"%{Useragent}i\\\") LOGFILE "Hard disk:analog/*.log" What else can I try? Hilmar >> hallo Aengus, >> i tried your propose with the following result in the error log: >> >> F: Opening %%% as logfile >> F: Detect that it's in NCSA combined format >> C: 199.172.149.143 - - [03/Jul/2000:00:49:14 +0200] "GET /robots.txt >> HTTP/1.0" 404 2030 www.quai.de "-" "ArchitextSpider" >> >> S: Corrupt lines: 1103 >> analog: Warning L: Large number of corrupt lines in logfile %%%: try >> different LOGFORMAT >> >> > > I really don't know - I'm not sure why Analog is saying "Detect that it's > in NCSA combined format" if you've specified a LOGFORMAT (or > APACHELOGFORMAT in your case). > > Are you specifying the LOGFILE in ANALOG.CFG, or are you reading it from > the command line? If you are specifying the logfile name on the command > line, you need to specify APACHEDEFAULTLOGFORMAT instead. > > Aengus This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] APACHELOGFORMAT
hallo Aengus, i tried your propose with the following result in the error log: F: Opening %%% as logfile F: Detect that it's in NCSA combined format C: 199.172.149.143 - - [03/Jul/2000:00:49:14 +0200] "GET /robots.txt HTTP/1.0" 404 2030 www.quai.de "-" "ArchitextSpider" S: Corrupt lines: 1103 analog: Warning L: Large number of corrupt lines in logfile %%%: try different LOGFORMAT What else can I try? Hilmar > Von: "Aengus" <[EMAIL PROTECTED]> > "Hilmar Boehle" <[EMAIL PROTECTED]> wrote: > >> what can I do with a logfile like this? >> >> >> analog version 4.16/Mac >> analog: Warning C: Bad argument in configuration command: ignoring it: >> LOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %S %b %{Host}i >> \\\"%{Referer}i\\\" \\\"%{Useragent}i\\\") >> analog: ...cont..: (reason: an unknown item code is present) > > You could try > APACHELOGFORMAT (%{Host}i %h %l %u %t \"%r\" %S %b %{Host}i > \"%{Referer}i\" \"%{Useragent}i\") > > docs/logfmt.html#Apache > > Aengus This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
[analog-help] APACHELOGFORMAT
dear analog comunity, what can I do with a logfile like this? Thanks for your help! Hilmar analog version 4.16/Mac analog: Warning C: Bad argument in configuration command: ignoring it: LOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %S %b %{Host}i \\\"%{Referer}i\\\" \\\"%{Useragent}i\\\") analog: ...cont..: (reason: an unknown item code is present) analog: Warning L: Large number of corrupt lines in logfile HD:Internet:Analog 4.16 :Analog Helper 1.2.3:logs:quai.log.27.gz: try different LOGFORMAT Current logfile format: %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n One entry in the logfile: 195.93.66.11 - - [05/Mar/2001:00:23:21 +0100] "GET /1b.html HTTP/1.0" 200 1412 www.w-h-d.de "http://www.w-h-d.de/1a.html" "Mozilla/4.0 (compatible; MSIE 5.5; AOL 5.0; Windows 98; QXW0333p)" This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] APACHELOGFORMAT
dear Jason, I moved away all the \s but I have no luck with the result: Warning C: Not enough arguments for configuration command Warning C: Unknown configuration command: ignoring it Warning L: Large number of corrupt lines ...and the report is empty. What else can I try ? Hilmar Boehle -- >Von: Jason Linhart <[EMAIL PROTECTED]> >An: <[EMAIL PROTECTED]> >Betreff: Re: [analog-help] APACHELOGFORMAT >Datum: 24. Apr 2000 22:04 Uhr > > On 4/24/00 5:34 PM Hilmar Boehle ([EMAIL PROTECTED]) wrote: > >>can´t get analog 4.1 to read the logfile of my new provider. Before >>everything was working fine. >>I´m trying: >> >>APACHELOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i >>\\\"%{Referer}i\\\" \\\"%{Useragent}i\\\") >> >>the error message is: >>analog: Warning L: Large number of corrupt lines in logfile Macintosh >>HD:Apple >>Extras:Analog:logfiles:whd:WebSTAR.log.16: try different LOGFORMAT > > Try it without all the \s. > > APACHELOGFORMAT (%{Host}i %h %l %u %t "%r" %s %b %{Host}i "%{Referer}i" > "%{Useragent}i") > > Good Luck > Jason > > - > [EMAIL PROTECTED] > - > Dr. Seuss books . . . can be read and enjoyed on several levels. For > example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed > as a searing indictment of the narrow-minded binary counting system. > -- Peter van der Linden, Expert C Programming, Deep C Secrets > > > > This is the analog-help mailing list. To unsubscribe from this > mailing list, send mail to [EMAIL PROTECTED] > with "unsubscribe" in the main BODY OF THE MESSAGE. > List archived at http://www.mail-archive.com/analog-help@lists.isite.net/ > This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
[analog-help] APACHELOGFORMAT
Title: APACHELOGFORMAT hello, can´t get analog 4.1 to read the logfile of my new provider. Before everything was working fine. I´m trying: APACHELOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\" \\\"%{Useragent}i\\\") the error message is: analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Apple Extras:Analog:logfiles:whd:WebSTAR.log.16: try different LOGFORMAT Please give me advice what to do, thanks, H. Boehle
[analog-help] emty report
Title: emty report dear analog community, my provider declared the logformat configuration like that: Server: Apache/1.3.3 (Unix) S.u.S.E./6.0 Logformat: APACHELOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\" \\\"%{Useragent}i\\\") but I can´t get Analog 4.1 on my Macintosh to analyse the downloaded access.log which i renamed: "WebSTAR.log". the error message is : ** analog: Warning C: Bad argument in configuration command: ignoring it: APACHELOGFORMAT -> LOGFORMAT (%j %S %j %u [%d/%M/%Y:%h:%n:%j] \"%j%w%r%wHTTP%j\" %c %b %j \"%f\" \"%j\") analog: ...cont..: (reason: an unknown escape sequence is present) (For help on all errors and warnings, see docs/errors.html) analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Apple Extras:Analog:logfiles:whd:WebSTAR.log.16: try different LOGFORMAT Current logfile format: %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n ** Please give me advice what to do! thank you, Hilmar Boehle
Re: [analog-help] APACHELOGFORMAT
Dear Stephen, While using: LOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\") the errormessage is: ** Processing... analog: Warning C: Bad argument in configuration command: ignoring it: LOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\"\\\"%{User-agent}i\\\" analog: ...cont..: (reason: an unknown item code is present) (For help on all errors and warnings, see docs/errors.html) analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Apple Extras:Analog:logfiles:access.log.09: try different LOGFORMAT Current logfile format: %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n When we use: APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") the errormessage says: * analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Apple Extras:Analog:logfiles:access.log.09: try different LOGFORMAT (For help on all errors and warnings, see docs/errors.html) Current logfile format: %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n * Trying again the logformat I got from my provider: APACHELOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\") The erromessage is: * analog: Warning C: Bad argument in configuration command: ignoring it: APACHELOGFORMAT -> LOGFORMAT %j %S %j %u [%d/%M/%Y:%h:%n:%j] \"%j%w%r%wHTTP%j\" %c %b %j \"%f\" \"%B\" analog: ...cont..: (reason: an unknown escape sequence is present) (For help on all errors and warnings, see docs/errors.html) analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Apple Extras:Analog:logfiles:access.log.09: try different LOGFORMAT Current logfile format: %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %u [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n ** Hilmar Boehle Stephen Turner wrote: > On Wed, 1 Mar 2000, Hilmar Boehle wrote: > > > i tried: > > APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") > > it´s not working. > > What was the actual error message? > > -- > Stephen Turner http://www.statslab.cam.ac.uk/~sret1/ > Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England > "We can ask you to pay the full amount which you owe us if you: >(a) become bankrupt; or (b) die." Egg Credit Card Agreement > > > This is the analog-help mailing list. To unsubscribe from this > mailing list, send mail to [EMAIL PROTECTED] > with "unsubscribe" in the main BODY OF THE MESSAGE. > List archived at http://www.mail-archive.com/analog-help@lists.isite.net/ > This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] APACHELOGFORMAT
Hallo Jeff, Thanks for your hint but what do you mean by: 'comment out the Analog log format in httpd.conf. '? Hilmar Jeff Drury - CS Supervisor wrote: > On Wed, 1 Mar 2000, Hilmar Boehle wrote: > > > i tried: > > APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") > > it´s not working. > > Than I tried: > > LOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") > > it´s not working either. > > Analog does not understand the logformat. > > What else can I try? > > My Provider says that the construction of the logformat is: > > %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\" > > \\\"%{User-agent}i\\\" > > this string did not function (see below) > > I´m waiting for further advice. > > Hilmar Boehle > > I kind of ran into this problem the other day...no matter what log format I tried I >always got an error message and no stats were available. I found the solution im my >case was to comment out the Analog log format in httpd.conf. It's worked fine ever >since. > > -jeff > > > Jeffery Drury > Technical Support Supervisor > E-Znet Incorporated > > http://www.eznet.net > Email: [EMAIL PROTECTED] > > Have you ever walked through the zoo, looked at the wild > animals and wondered...hmmm how would they taste in a soup! > > > This is the analog-help mailing list. To unsubscribe from this > mailing list, send mail to [EMAIL PROTECTED] > with "unsubscribe" in the main BODY OF THE MESSAGE. > List archived at http://www.mail-archive.com/analog-help@lists.isite.net/ > This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] APACHELOGFORMAT
i tried: APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") it´s not working. Than I tried: LOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") it´s not working either. Analog does not understand the logformat. What else can I try? My Provider says that the construction of the logformat is: %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\" this string did not function (see below) I´m waiting for further advice. Hilmar Boehle Marco Bernardini wrote: > At 22.40 29/02/2000 +0100, Hilmar wrote: > >hallo, > > > >in the "analog.cfg" I put the following string to define the logformat > >of the Apache server: > > > >APACHELOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i > >\\\"%{Referer}i\\\" \\\"%{User-agent}i\\\") > > > >How can I get Analog 4.0 to understand the logformat? Please help! > > You put too many \ > Try > APACHELOGFORMAT (%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\") > > Bye! > > Marco Bernardini This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
[analog-help] APACHELOGFORMAT
hallo, in the "analog.cfg" I put the following string to define the logformat of the Apache server: APACHELOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\") The error message is: analog: Warning C: Bad argument in configuration command: ignoring it: APACHELOGFORMAT -> LOGFORMAT %j %S %j %u [%d/%M/%Y:%h:%n:%j] \"%j%w%r%wHTTP%j\" %c %b %j \"%f\" \"%B\" analog: ...cont..: (reason: an unknown escape sequence is present) How can I get Analog 4.0 to understand the logformat? Please help! My platform is Macintosh PPC. I tried with analog stand alone and with analog helper 1.2 but the automatic logfile detection can´t read the apache logformat. Hilmar Boehle This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] can´t read APACHELOGFORMAT
now APACHELOGFORMAT is first and there is only the quoted string following in that line but the logformat is still not accepted by analog?? Here is the warning: ** Processing... analog: Warning C: Too many arguments for configuration command: ignoring end of line starting: LOGFORMAT APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i (For help on all errors and warnings, see docs/errors.html) analog: Warning C: Bad argument in configuration command: ignoring it: LOGFORMAT APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i analog: ...cont..: (reason: no item codes are present) analog: Warning C: Unknown configuration command: ignoring it: \\\"%{REFERER}I\\\" \\\"%{User-agent}i\\\") analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Apple Extras:Analog:logfiles:access.log.05: try different LOGFORMAT Current logfile format: %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n Complete! *** Is it that I can´t use analog helper when there is a APACHELOGFORMAT even if I configure the analog.cfg by hand and save it? Hilmar Boehle Jason Linhart wrote: > > > >When I use analog helper, the program automatically puts the LOGFORMAT > >expression in front of APACHELOGFORMAT. > >and the result again: an empty .html page. > > You must have the APACHELOGFORMAT be the first thing on the line, it can > not be precceded by LOGFORMAT. I'm not sure it is even possible to get > Analog Helper to do this correctly, you may need to have it write a > configuration file and then edit by hand. > > Jason > > - > [EMAIL PROTECTED] > - > Dr. Seuss books . . . can be read and enjoyed on several levels. For > example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed > as a searing indictment of the narrow-minded binary counting system. > -- Peter van der Linden, Expert C Programming, Deep C Secrets > > > This is the analog-help mailing list. To unsubscribe from this > mailing list, send mail to [EMAIL PROTECTED] > with "unsubscribe" in the main BODY OF THE MESSAGE. > List archived at http://www.mail-archive.com/analog-help@lists.isite.net/ > This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
Re: [analog-help] can´t read APACHELOGFORMAT
dear Jeremy, after quoting the logformat string the warning is like this: Processing... analog: Warning C: Too many arguments for configuration command: ignoring end of line starting: LOGFORMAT APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i (For help on all errors and warnings, see docs/errors.html) analog: Warning C: Bad argument in configuration command: ignoring it: LOGFORMAT APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i analog: ...cont..: (reason: no item codes are present) analog: Warning C: Unknown configuration command: ignoring it: \\\"%{REFERER}I\\\" \\\"%{User-agent}i\\\") analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Apple Extras:Analog:logfiles:access.log.05: try different LOGFORMAT Current logfile format: %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n Complete! ** When I use analog helper, the program automatically puts the LOGFORMAT expression in front of APACHELOGFORMAT. and the result again: an empty .html page. What else can I try? Hilmar Boehle Jeremy Wadsack wrote: > > You need to quote the logformat string. Try this: > > APACHELOGFORMAT (%{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i > \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\") > > HTH, > > Jeremy Wadsack > Wadsack-Allen Digital Group > > Hilmar Boehle wrote: > > > finally a got the string from my provider to detect the APACHELOGFORMAT. > > I put it up like this in the analog.cfg > > > > *** > > > > APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i > > \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\" > > > > *** > > After this step I get the following warnings: > > > > Processing... > > analog: Warning C: Too many arguments for configuration command: > > ignoring end > > of line starting: > > LOGFORMAT %{Host}i %h > > (For help on all errors and warnings, see docs/errors.html) > > analog: Warning C: Bad argument in configuration command: ignoring it: > > LOGFORMAT %{Host}i %h > > analog: ...cont..: (reason: an unknown item code is present) > > analog: Warning F: Can't auto-detect format of logfile Macintosh HD:Apple > > Extras:Analog:logfiles:ftp.xferlog: ignoring it > > Complete! > > > > > > > > I´m using Analog4.0 (and Analog Helper 1.2) running on a Macintosh and > > would really appreciate to get your advice (to be able to continue using > > your program...) > > > > Thank you! > > Hilmar Boehle > > > > Stephen Turner wrote: > > > > > > On Sat, 5 Feb 2000, Jason Linhart wrote: > > > > > > > > The LOGFORMAT APACHELOGFORMAT is supposed to be followed by the text from > > > > the Apache configuration command that sets up the log format for Apache. > > > > Find the correct line from the Apache configuration file and put the > > > > format string used with Apache on the end of that line. > > > > > > > > > > ... and it's just APACHELOGFORMAT not LOGFORMAT APACHELOGFORMAT. > > > > > > There is no standard Apache log format, so this command tells analog what > > > your log format is. > > > > > > -- > > > Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/ > > > Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England > > > "We can ask you to pay the full amount which you owe us if you: > > >(a) become bankrupt; or (b) die." Egg Credit Card Agreement > > > > > > > > > This is the analog-help mailing list. To unsubscribe from this > > > mailing list, send mail to [EMAIL PROTECTED] > > > with "unsubscribe" in the main BODY OF THE MESSAGE. > > > List archived at http://www.mail-archive.com/analog-help@lists.isite.net/ > > > > > > > This is the analog-help mailing list. To unsubscribe from this > > mailing list, send mail to [EMAIL PROTECTED] > > with "unsubscribe" in the main BODY OF THE MESSAGE. > > Li
Re: [analog-help] can´t read APACHELOGFORMAT
finally a got the string from my provider to detect the APACHELOGFORMAT. I put it up like this in the analog.cfg *** APACHELOGFORMAT %{Host}i %h %l %u %t \\\"%r\\\" %s %b %{Host}i \\\"%{Referer}i\\\" \\\"%{User-agent}i\\\" *** After this step I get the following warnings: Processing... analog: Warning C: Too many arguments for configuration command: ignoring end of line starting: LOGFORMAT %{Host}i %h (For help on all errors and warnings, see docs/errors.html) analog: Warning C: Bad argument in configuration command: ignoring it: LOGFORMAT %{Host}i %h analog: ...cont..: (reason: an unknown item code is present) analog: Warning F: Can't auto-detect format of logfile Macintosh HD:Apple Extras:Analog:logfiles:ftp.xferlog: ignoring it Complete! I´m using Analog4.0 (and Analog Helper 1.2) running on a Macintosh and would really appreciate to get your advice (to be able to continue using your program...) Thank you! Hilmar Boehle Stephen Turner wrote: > > On Sat, 5 Feb 2000, Jason Linhart wrote: > > > > The LOGFORMAT APACHELOGFORMAT is supposed to be followed by the text from > > the Apache configuration command that sets up the log format for Apache. > > Find the correct line from the Apache configuration file and put the > > format string used with Apache on the end of that line. > > > > ... and it's just APACHELOGFORMAT not LOGFORMAT APACHELOGFORMAT. > > There is no standard Apache log format, so this command tells analog what > your log format is. > > -- > Stephen Turner[EMAIL PROTECTED]http://www.statslab.cam.ac.uk/~sret1/ > Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England > "We can ask you to pay the full amount which you owe us if you: >(a) become bankrupt; or (b) die." Egg Credit Card Agreement > > > This is the analog-help mailing list. To unsubscribe from this > mailing list, send mail to [EMAIL PROTECTED] > with "unsubscribe" in the main BODY OF THE MESSAGE. > List archived at http://www.mail-archive.com/analog-help@lists.isite.net/ > This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/
[analog-help] can´t read APACHELOGFORMAT
hallo, I would appreciate to get advice how to make Analog 4.0/Mac reading the downloaded logfile of my provider. I get the following warning (and the report is empty): ** Processing... analog: Warning C: Bad argument in configuration command: ignoring it: LOGFORMAT APACHELOGFORMAT analog: ...cont..: (reason: no item codes are present) (For help on all errors and warnings, see docs/errors.html) analog: Warning L: Large number of corrupt lines in logfile Macintosh HD:Desktop Folder:logs:access.log.05: try different LOGFORMAT Current logfile format: %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n analog: Warning R: Turning off empty time reports analog: Warning R: Turning off empty Request Report analog: Warning R: Turning off empty Redirection Report ... ... The first lines of the logfile are looking like that: 137.224.145.172 - - [24/Jan/2000:13:08:29 +0100] "GET /marginale/britta.html HTTP/1.1" 404 602 www.quai.de "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)" * How can I tell Analog4.0/Mac to understand the apachelogformat ?? Hilmar Boehle This is the analog-help mailing list. To unsubscribe from this mailing list, send mail to [EMAIL PROTECTED] with "unsubscribe" in the main BODY OF THE MESSAGE. List archived at http://www.mail-archive.com/analog-help@lists.isite.net/