in reply to Dealing with Syslog files

Here's a working example for converting logs to LogZilla format (which pipes messages into a DB using tab separated values). You could easily adapt it for your needs I'm sure. http://forum.logzilla.pro/index.php/topic,439.0.html