intechfs
asked on
Perl parse syslog
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.
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot for the help.
ASKER
dda, thanks for that. Not useful for this problem but something generally useful to know!