Michael U. wrote:
I want to analyze a log file using ruby. What is
the most Ruby-like method to check the file for new
entries (they will be appended to the file) and
then get those new entries into the system?
I have a feeling that this should be rather simple,
but I can’t think of an elegant way.
The grandrapids.rb is working on Logz, a web application built with ruby
on rails which allows you
to track, annotate, and follow a log analysts workflow. Some proof of
concept code was released on
their web site (http://www.gr-ruby.org/wiki). It is in the works right
now, but it will allow you
track multiple types of logs from multiple systems from within Logz, and
it is easily extendable by
the user to add their own custom log files. If something like this
interests you, please let the
group know by responding to this thread or joining their mailing list
and hollaring at them.