Mike Coppins <[EMAIL PROTECTED]> wrote: > I'm getting a fair amount of feedback form spammers (people trying to > send me spam messages through a contact form on one of my websites). > At the moment I am using a workaround of excluding the ASP page in > question from the statistics completely, but as that removes some > legitimate traffic from the analysis, I would like to exclude any > HTTP POST entries from the log analysis. I'm using analog 6 / win32. > Is this easily possible?
The LOGFORMAT usually defines the method field as junk - %j. You can create a custom logformat that specifies POST for that particular field, and %j for everything else, and so that when Analog finds an entry with POST in the relevant field, the rest of that entry will be ignored. If you don't currently have a LOGFORMAT command (Analog is using automatic detection to recognize the logformat), then you'll have to generate a LOGFORMAT command for the rest of the logfile (Analog can use multiple LOGFORMAT commands - just put the POST one first). 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 +------------------------------------------------------------------------

