Search log for string and display hourly/daily report

spek06 at gmail.com spek06 at gmail.com
Wed Jan 23 14:05:31 EST 2013


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?



More information about the Python-list mailing list