Codebase list libparse-syslog-perl / HEAD
HEAD

Tree @HEAD (Download .tar.gz)

Parse/Syslog
============

DESCRIPTION

Unix syslogs are convenient to read for humans but because
of small differences between operating systems and things
like 'last message repeated xx times' not very easy to parse
by a script.

Parse::Syslog presents a simple interface to parse syslog
files: you create a parser on a file (with new) and call
next to get one line at a time with Unix-timestamp, host,
program, pid and text returned in a hash-reference.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DOCUMENTATION

The documentation is embedded in the module itself. Type
'perldoc lib/Parse/Syslog.pm' (or 'man Parse::Syslog' if the
man-page was installed) to see it.

COPYRIGHT AND LICENCE

Copyright (c) 2001, Swiss Federal Institute of Technology, Zurich.
All Rights Reserved.

This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.