Re: excluding a timespan in the middle of FROM, TO
Klaus Johannes Rusch <[email protected]>
| Newsgroups | gmane.comp.web.analog.general |
|---|---|
| Organization | atmedia.net |
| Message-ID | <[email protected]> |
janet ward wrote: > I want to exclude a part of the day from my day calculations (this seems > to be the only way to remove a unidentifiable robot that went through > during the time to be excluded). > > I want to exclude from 11:45 to 11:51. > > The FROM and TO parameters appear only to allow me to exclude *before* > 11:45 and *after* 11:51, whereas I want to exclude *after* 11:45 and > *before* 11:51. The only solution I can think of without modifying the code is filtering the requests before analog processes the log file, either by reading from stdin and filtering using grep, or by using a filter as a preprocessor. cat log | grep -v -f file-with-date-time-patterns-to-exclude | analog ... -- Klaus Johannes Rusch [email protected] http://www.atmedia.net/KlausRusch/ +------------------------------------------------------------------------ | 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 +------------------------------------------------------------------------