Re: [analog-help] problems with browser statistics Netscape enterprise server 4.1
Salaam! tito.basa wrote: > 127.0.0.1 - - [18/Mar/2005:18:42:51 +0800] "GET /images/atom1a.gif > HTTP/1.1" 304 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)" > 127.0.0.1 - - [18/Mar/2005:18:42:51 +0800] "GET /images/atom3b.jpg > HTTP/1.1" 304 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)" That is precisely the same log format my server produces. I think it's an Apache format, but when I first ran Analog I had added lines at the top of my log files and Analog didn't recognize them. Not knowing what was wrong, I constructed LOGFORMAT commands until I got it right. Today, my log files no longer contain editing but I still use the LOGFORMAT command. > would this do it? > LOGFORMAT (%s - - %d/%m/%y %h:%n:%am, %r, %c, - %B) Probably not ... you've omitted the [brackets] and added a space in the date/time, among other differences. I use this: LOGFORMAT (%s - - [%d/%M/%Y:%h:%n:%j] "%j %r %j" %c %b "%f" "%B") was-salaam, abujamal -- astaghfirullahal-ladhee laa ilaha illa howal-hayyul-qayyoom wa 'atoobu 'ilaihi Rejoice, muslims, in martyrdom without fighting, a Mercy for us. Be like the better son of Adam. + | 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 +
Re: [analog-help] problems with browser statistics Netscape enterprise server 4.1
tito.basa wrote: Jeremy Wadsack wrote: The log file format you show below has duplicate data in it. If you change your format to end after the browser entry, it will be Combined Logfile Format which Analog can recognize without any problem. Beyond that, I am not sure I understand what problem you are hanving. hi! did that and still mising browser stats :( I changed the logfile to the one below and still won't work to display the client browser stats...maybe it's the LOGFORMAT command missing in Analog's config file but will have to test this later: 127.0.0.1 - - [18/Mar/2005:18:42:51 +0800] "GET /images/atom1a.gif HTTP/1.1" 304 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)" 127.0.0.1 - - [18/Mar/2005:18:42:51 +0800] "GET /images/atom3b.jpg HTTP/1.1" 304 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)" would this do it? LOGFORMAT (%s - - %d/%m/%y %h:%n:%am, %r, %c, - %B) Your original post included the referrer, which would match the Combined Log Format. You probably want to include referrer data. Especially if you want to track search engine queries. See the examples at the end of http://analog.cx/docs/logfmt.html for details on Combined Logfile Format. The format you need for the log line you are showing would be something like this: LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%B") -- Jeremy Wadsack Seven Simple Machines + | 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 +
Re: [analog-help] problems with browser statistics Netscape enterprise server 4.1
Jeremy Wadsack wrote: The log file format you show below has duplicate data in it. If you change your format to end after the browser entry, it will be Combined Logfile Format which Analog can recognize without any problem. Beyond that, I am not sure I understand what problem you are hanving. hi! did that and still mising browser stats :( I changed the logfile to the one below and still won't work to display the client browser stats...maybe it's the LOGFORMAT command missing in Analog's config file but will have to test this later: 127.0.0.1 - - [18/Mar/2005:18:42:51 +0800] "GET /images/atom1a.gif HTTP/1.1" 304 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)" 127.0.0.1 - - [18/Mar/2005:18:42:51 +0800] "GET /images/atom3b.jpg HTTP/1.1" 304 - "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)" would this do it? LOGFORMAT (%s - - %d/%m/%y %h:%n:%am, %r, %c, - %B) sorry, i'm not a scripter :( thanks tito + | 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 +
Re: [analog-help] problems with browser statistics Netscape enterprise server 4.1
The log file format you show below has duplicate data in it. If you change your format to end after the browser entry, it will be Combined Logfile Format which Analog can recognize without any problem. Beyond that, I am not sure I understand what problem you are hanving. -- Jeremy Wadsack Seven Simple Machines tito.basa wrote: hi! i'm having problems on displaying Browser statistics for Netscape enterprise server 4.1. I got Analog (and reportmagic) to work...but i need stats on browser and IP addresses maybe a breakdown on country of origin (maybe a separate script for that) i changed log format from CLF to a custom format that gave me these sample logs. I'm using firefox and IE and also part of logs from my nikto scan. maybe netscape has the problm here but cant find (so far) netscape mailing list on google :( 10.252.241.234 - - [16/Mar/2005:15:53:49 +0800] "GET / HTTP/1.1" 200 6691 "-" "Mozilla/4.75 (Nikto/1.34 )" GET /index.html - "HTTP/1.1" 10.252.241.234 - - [16/Mar/2005:15:53:49 +0800] "GET /cgi.cgi/ HTTP/1.1" 404 292 "-" "Mozilla/4.75 (Nikto/1.34 )" GET /cgi.cgi/ - "HTTP/1.1" 127.0.0.1 - - [16/Mar/2005:16:02:30 +0800] "GET /images/atom4c.jpg HTTP/1.1" 304 - "http://localhost/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)" GET /images/atom4c.jpg - "HTTP/1.1" 127.0.0.1 - - [16/Mar/2005:16:02:30 +0800] "GET /images/atom7.gif HTTP/1.1" 304 - "http://localhost/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 4.0)" GET /images/atom7.gif - "HTTP/1.1" 10.252.241.234 - - [16/Mar/2005:16:14:31 +0800] "GET /images/atom3a.gif HTTP/1.1" 304 - "http://10.252.241.9/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" GET /images/atom3a.gif - "HTTP/1.1" 10.252.241.234 - - [16/Mar/2005:16:14:31 +0800] "GET /images/atom3d.jpg HTTP/1.1" 304 - "http://10.252.241.9/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" GET /images/atom3d.jpg - "HTTP/1.1" 10.252.241.234 - - [16/Mar/2005:16:14:31 +0800] "GET /images/atom6b.jpg HTTP/1.1" 304 - "http://10.252.241.9/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" GET /images/atom6b.jpg - "HTTP/1.1" 10.252.241.234 - - [16/Mar/2005:16:14:31 +0800] "GET /images/atom6f.jpg HTTP/1.1" 304 - "http://10.252.241.9/"; "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" GET /images/atom6f.jpg - "HTTP/1.1" thanks in advance for any help tito + | 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 + + | 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 +