| 1 |
Parse/Syslog |
| 2 |
============ |
| 3 |
|
| 4 |
DESCRIPTION |
| 5 |
|
| 6 |
Unix syslogs are convenient to read for humans but because |
| 7 |
of small differences between operating systems and things |
| 8 |
like 'last message repeated xx times' not very easy to parse |
| 9 |
by a script. |
| 10 |
|
| 11 |
Parse::Syslog presents a simple interface to parse syslog |
| 12 |
files: you create a parser on a file (with new) and call |
| 13 |
next to get one line at a time with Unix-timestamp, host, |
| 14 |
program, pid and text returned in a hash-reference. |
| 15 |
|
| 16 |
INSTALLATION |
| 17 |
|
| 18 |
To install this module type the following: |
| 19 |
|
| 20 |
perl Makefile.PL |
| 21 |
make |
| 22 |
make test |
| 23 |
make install |
| 24 |
|
| 25 |
DOCUMENTATION |
| 26 |
|
| 27 |
The documentation is embedded in the module itself. Type |
| 28 |
'perldoc lib/Parse/Syslog.pm' (or 'man Parse::Syslog' if the |
| 29 |
man-page was installed) to see it. |
| 30 |
|
| 31 |
COPYRIGHT AND LICENCE |
| 32 |
|
| 33 |
Copyright (c) 2001, Swiss Federal Institute of Technology, Zurich. |
| 34 |
All Rights Reserved. |
| 35 |
|
| 36 |
This module is free software; you can redistribute it and/or |
| 37 |
modify it under the same terms as Perl itself. |