Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37508
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <torriem@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.058 |
| X-Spam-Evidence | '*H*': 0.88; '*S*': 0.00; 'subject:report': 0.09; 'subject:string': 0.09; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'started?': 0.16; 'subject:log': 0.16; 'url:dabeaz': 0.16; 'string': 0.17; 'wrote:': 0.17; 'examples': 0.18; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'subject:/': 0.28; '(from': 0.30; 'file': 0.32; 'instances': 0.33; 'anyone': 0.33; 'to:addr:python-list': 0.33; 'pm,': 0.35; 'received:org': 0.36; 'message-id:@gmail.com': 0.36; 'skip:p 20': 0.36; 'far': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'header:Received:5': 0.40; 'provide': 0.62; 'email addr:gmail.com': 0.63; 'total': 0.65; 'hour': 0.69; 'day': 0.73; 'subject:Search': 0.84 |
| X-Virus-Scanned | amavisd-new at torriefamily.org |
| Date | Wed, 23 Jan 2013 15:12:30 -0700 |
| From | Michael Torrie <torriem@gmail.com> |
| User-Agent | Mozilla/5.0 (X11; Linux i686; rv:10.0.11) Gecko/20121115 Thunderbird/10.0.11 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: Search log for string and display hourly/daily report |
| References | <4f952e77-258d-47ae-9d76-a86daa8acaa2@googlegroups.com> |
| In-Reply-To | <4f952e77-258d-47ae-9d76-a86daa8acaa2@googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.922.1358979158.2939.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1358979158 news.xs4all.nl 6977 [2001:888:2000:d::a6]:37261 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:37508 |
Show key headers only | View raw
On 01/23/2013 12:05 PM, spek06@gmail.com wrote: > I need to search a log file for a specific string (Successfully Sent) > and report the number of instances in the last hour (from when > executed) and total for the day so far (midnight till the time > executed). Can anyone provide any examples of such a program or get > me started? Take a look at this very interesting presentation/document: http://www.dabeaz.com/generators/
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Search log for string and display hourly/daily report spek06@gmail.com - 2013-01-23 11:05 -0800
Re: Search log for string and display hourly/daily report Tim Chase <python.list@tim.thechases.com> - 2013-01-23 14:08 -0600
Re: Search log for string and display hourly/daily report John Gordon <gordon@panix.com> - 2013-01-23 21:25 +0000
Re: Search log for string and display hourly/daily report spek06@gmail.com - 2013-01-23 16:57 -0800
Re: Search log for string and display hourly/daily report Michael Torrie <torriem@gmail.com> - 2013-01-23 15:12 -0700
csiph-web