On Wednesday, May 31, 2006 12:58 PM [EDT], Jeff Swearingen <[EMAIL PROTECTED]> wrote:
I am using Analog with IIS 6.0 log files. What is the best way to have Analog generate stats for a website on a schedule, but not process every log file? That is, how can I tell Analog to only process log entries saved since the last time Analog was run?
The only way to reliably "tell Analog to only process log entries saved since the last time Analog was run" is to get rid of the old records after Analog is done with them ("get rid of" can mean moving them to another location). If you only run Analog on a schedule, and you can easily calculate when the last run was, then you can try to use that in your script - fairly easy to do for Daily and Monthly runs, hard to do for weekly runs.
Note that none of this has anything to do with Analog - any solution will be part of the script that calls Analog, as Analog doesn't have any capacity for doing this itself (except for a daily or monthly analysis, using date codes in the LOGFILE command - http://analog.cx/docs/logfile.html).
Aengus
+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

