Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jnahmias/parse-syslog

Perl Parse::Syslog module
https://github.com/jnahmias/parse-syslog

parser perl5 perl5-module syslog

Last synced: about 1 month ago
JSON representation

Perl Parse::Syslog module

Awesome Lists containing this project

README

        

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.