Perl parse syslog
Posted on 2009-04-01
I am trying to write a Perl log that will parse the syslog in Linux (/var/log/messages) and log the critical messages only.
In Windows the event viewer simply catagorises messages into information, warning or error but I can't see anything like this in /var/log/messages
Can someone please tell me what I need to filter out these messages or if there is a module that will do this. If it matters the OSes are SuSE and Ubuntu.