Re: [analog-help] analog not reading all the log files
On Fri, 1 Nov 2002, Mark Clancy wrote: I am running analog 5.23 on a redhat 7.2 apache server. Analog runs perfectly analyzing all logs from apaches and imported logs from an IIS server when running as a cron job, or via command line. I recently implemented the anlgform interface, and the problem I am having is when specifying a date range of say: FROM: 020601 TO: 020630 analog REPORT.html returns 6/13/02 to 6/30/02. Why is analog skipping log files from the 1st to the 12th via a web interface? They do exist, No matter what month I choose it seems to stop at the 13th, also Is there a parameter to set DEBUG to write to a file, instead of the screen. To answer the last question first, yes, it's called ERRFILE, but you can't use it from the form, because it would allow people to write to your filespace. If you have some problems, it's best to run with the same configuration from the command line so as to see the error messages. Anyway, the problem here is that analog can't diagnose the format the IIS logfiles are in, so you need to give it a clue. See http://www.analog.cx/docs/logfile.html#IISfmt -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ Reserve your 2 hour delivery time, which means you'll see the same special offers as you would instore - Sainsbury's internet shopping instructions + | 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] analog not reading all the log files
Mark Clancy ([EMAIL PROTECTED]; Friday, November 01, 2002 10:46 AM): I am running analog 5.23 on a redhat 7.2 apache server. Analog runs perfectly analyzing all logs from apaches and imported logs from an IIS server when running as a cron job, or via command line. I recently implemented the anlgform interface, and the problem I am having is when specifying a date range of say: FROM: 020601 TO: 020630 analog REPORT.html returns 6/13/02 to 6/30/02. Why is analog skipping log files from the 1st to the 12th via a web interface? They do exist, No matter what month I choose it seems to stop at the 13th, Either it is not selecting logfiles that contain those dates (are there files that it thinks are corrupt, perhaps a bad or missing DEFAULTLOGFORMAT line?) or you have mis-typed the FROM/TO date. There is nothing in Analog that would make it choose the 13th to start at. also Is there a parameter to set DEBUG to write to a file, instead of the screen. ERRFILE. See http://analog.cx/docs/debug.html#ERRFILE -- Jeremy Wadsack Wadsack-Allen Digital Group + | 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] analog not reading all the log files
Thanks for your help, I have ammended the perl script to save the params it is recieving to a file, and here is the relevant output: queryparam LOGFILE A=/var/log/httpd/access_lo* A=/var/log/LogFiles/in*.log queryparam LOGFORMAT A=MICROSOFT-NA queryparam FROM A=020601 queryparam TO A=020630 analog is getting the correct dates, could it be the order in which it is recieving params LOGFILE and LOGFORMAT?, I put LOGFORMAT before LOGFILE /var/log/LogFiles/in*.log in anlgform.html, but as it goes through peral it changes. REgards, Mark --- Jeremy Wadsack [EMAIL PROTECTED] wrote: Mark Clancy ([EMAIL PROTECTED]; Friday, November 01, 2002 10:46 AM): I am running analog 5.23 on a redhat 7.2 apache server. Analog runs perfectly analyzing all logs from apaches and imported logs from an IIS server when running as a cron job, or via command line. I recently implemented the anlgform interface, and the problem I am having is when specifying a date range of say: FROM: 020601 TO: 020630 analog REPORT.html returns 6/13/02 to 6/30/02. Why is analog skipping log files from the 1st to the 12th via a web interface? They do exist, No matter what month I choose it seems to stop at the 13th, Either it is not selecting logfiles that contain those dates (are there files that it thinks are corrupt, perhaps a bad or missing DEFAULTLOGFORMAT line?) or you have mis-typed the FROM/TO date. There is nothing in Analog that would make it choose the 13th to start at. also Is there a parameter to set DEBUG to write to a file, instead of the screen. ERRFILE. See http://analog.cx/docs/debug.html#ERRFILE -- Jeremy Wadsack Wadsack-Allen Digital Group + | 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 + __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ + | 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] analog not reading all the log files
On Fri, 1 Nov 2002, Mark Clancy wrote: analog is getting the correct dates, could it be the order in which it is recieving params LOGFILE and LOGFORMAT?, I put LOGFORMAT before LOGFILE /var/log/LogFiles/in*.log in anlgform.html, but as it goes through peral it changes. LOGFORMAT is forbidden from the form. See the security notes in docs/form.html. You need to use DEFAULTLOGFORMAT in your analog.cfg instead. -- Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/ Reserve your 2 hour delivery time, which means you'll see the same special offers as you would instore - Sainsbury's internet shopping instructions + | 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] analog not reading all the log files
I got it working by letting analog.cfg handle the log locations and logformat, instead of passing them from the form. Thanks again, Mark --- Stephen Turner [EMAIL PROTECTED] wrote: On Fri, 1 Nov 2002, Mark Clancy wrote: analog is getting the correct dates, could it be the order in which it is recieving params LOGFILE and LOGFORMAT?, I put LOGFORMAT before LOGFILE /var/log/LogFiles/in*.log in anlgform.html, but as it goes through peral it changes. LOGFORMAT is forbidden from the form. See the security notes in docs/form.html. You need to use DEFAULTLOGFORMAT in your analog.cfg instead. -- Stephen Turner, Cambridge, UK http://homepage.ntlworld.com/adelie/stephen/ Reserve your 2 hour delivery time, which means you'll see the same special offers as you would instore - Sainsbury's internet shopping instructions + | 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 + __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ + | 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 +