initial import of logpp 0.13

Logpp is a tool for preprocessing event logs and feeding relevant
information to other programs for storing or in-depth analysis.

During its work, logpp reads lines appended to input files (like tail(1)
in -f mode), matches the lines with patterns (e.g., regular
expressions), converts matching lines according to given templates, and
writes the results to given destinations.

Logpp supports multi-line matching and several types of output
destinations like regular files, FIFOs, external programs, and the
system logger.Therefore, logpp can act as a filter in front of the
more complex event log analysis system and increase the system's
performance by weeding out irrelevant log data; it can work as a syslog
gateway between the system logger and the application that doesn't use
syslog(3); it can convert multiline log messages to shorter single
line messages, and accomplish other log pre-processing tasks.

ok sturm@ jasper@
This commit is contained in:
msf 2007-04-23 09:04:41 +00:00
parent 1d2319806f
commit e0c2706061
4 changed files with 49 additions and 0 deletions

25
sysutils/logpp/Makefile Normal file
View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2007/04/23 09:04:41 msf Exp $
COMMENT= "log file preprocessor"
DISTNAME= logpp-0.13
CATEGORIES= sysutils
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB+= c
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=logpp/}
LIB_DEPENDS= pcre::devel/pcre
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>

5
sysutils/logpp/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (logpp-0.13.tar.gz) = KcosGD+z5HrBVVYK+AB3zQ==
RMD160 (logpp-0.13.tar.gz) = YHgxVIcRH13mGXk4paJGIDI9Q4Q=
SHA1 (logpp-0.13.tar.gz) = GfQCmTXoHXV9EYyKny9a4Tnoe1Y=
SHA256 (logpp-0.13.tar.gz) = Hifig9z8sc1Wv8AnF9ZdugJYcQXu/GrXQmKIGXI02Ck=
SIZE (logpp-0.13.tar.gz) = 110992

16
sysutils/logpp/pkg/DESCR Normal file
View File

@ -0,0 +1,16 @@
Logpp is a tool for preprocessing event logs and feeding relevant
information to other programs for storing or in-depth analysis.
During its work, logpp reads lines appended to input files (like tail(1)
in -f mode), matches the lines with patterns (e.g., regular
expressions), converts matching lines according to given templates, and
writes the results to given destinations.
Logpp supports multi-line matching and several types of output
destinations like regular files, FIFOs, external programs, and the
system logger.Therefore, logpp can act as a filter in front of the
more complex event log analysis system and increase the system's
performance by weeding out irrelevant log data; it can work as a syslog
gateway between the system logger and the application that doesn't use
syslog(3); it can convert multiline log messages to shorter single
line messages, and accomplish other log pre-processing tasks.

3
sysutils/logpp/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/04/23 09:04:41 msf Exp $
bin/logpp
@man man/man1/logpp.1