Jonathan Gnagy's Blog

Rails for everyone!

Syslog parser for Ruby

Just when I was going to give up and write my own Syslog parser for Ruby, I found one on github. I was trying to find a Ruby equivalent of Parse::Syslog, and syslogproto is pretty close. It doesn’t support all the same stuff, and it definitely looks like a work in progress, but I think I’m going to try it. I’m going to be trying my hand at rewriting my Perl syslog server in Ruby. Previously, I wrote a syslog server around Parse::Syslog and used it to store syslog messages in XML, MySQL or PostgreSQL datastores. I think now I’ll try using ActiveRecord and GServer along with syslogproto to hopefully make something neat. I’ll post some code as I start writing some.

Comments:
Add a comment:
Please leave following field blank:
SubmitSubmit    HelpHelp