./misc/logsurfer, Processes logfiles and performs certain actions

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.8, Package name: logsurfer-1.8, Maintainer: pkgsrc-users

Logsurfer is a program that works on single textlines from a logfile
(or from standard input). It compares each line against regular
expressions of a set of "rules" and performs certain actions that are
defined for this match.


Master sites: (Expand)

SHA1: 8fb732b16f0a0725492d73dd099662eeff0b9362
RMD160: 1e3d10d018ce5ee7ee941601b6abbca8efd2ed3b
Filesize: 192.806 KB

Version history: (Expand)


CVS history: (Expand)


   2012-10-08 11:57:42 by Aleksej Saushev | Files touched by this commit (239)
Log message:
Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days.
   2011-10-28 19:13:26 by Tim Zingelman | Files touched by this commit (3) | Package updated
Log message:
update to 1.8 resolves SA46389
A bug fix and a couple of extra command-line options:

    Fixed double free() in exec.c/prepare_exec(), thanks to reports from
        Gregor Kopf of Recurity Labs, Jan Kohlrausch of DFN_CERT, and
        Wolfgang Ley
    Updated README & DISCLAIMER files removing DFN-CERT copyright
    Now just Logsurfer, not Logsurfer+ any more
    -D command line option for daemon mode. Warning: closes stdin, stdout,
        & stderr, therefore no error messages
    -F command line option to auto re-open log file
   2010-02-04 18:25:25 by Joerg Sonnenberger | Files touched by this commit (1)
Log message:
DESTDIR support
   2009-06-14 20:07:32 by Joerg Sonnenberger | Files touched by this commit (129)
Log message:
Remove @dirrm entries from PLISTs
   2009-01-18 12:01:56 by Sergey Svishchev | Files touched by this commit (2) | Package updated
Log message:
Update to Logsurfer+ 1.7.  Changes:

* Added -e option to begin processing from the current end of the input log file.
* Put double-quotes around regex expressions in dump file.
* If the context argument to a pipe or report action is "-" then the \ 
current context contents are piped into the command.
* Added "echo" action which simply echo's the output on stdout, or to \ 
a file.
* Added a "$lines" macro construct in context action fields, it will \ 
be substituted by the number of lines in the context.
* Added "syslog" action to send a message into syslog.
   2007-03-24 20:21:34 by Joerg Sonnenberger | Files touched by this commit (124)
Log message:
Prepare for switching to NO_MTREE=yes.
   2007-02-22 20:01:28 by Thomas Klausner | Files touched by this commit (134) | Package updated
Log message:
pkglint cleanup; update HOMEPAGE/MASTER_SITES.
   2006-12-07 13:51:36 by OBATA Akio | Files touched by this commit (4) | Package updated
Log message:
Update logsurfer to 1.6.2(1.6b), requested in PR 33892.

ChangeLog:
Version 1.6b (logsurfer+)
	+ fixed -t option in getopts()

Version 1.6a (logsurfer+)
	Kerry Thompson kerry_at_crypt.gen.nz:
	+ corrected off-by-one in min_lines checking
	+ added min_lines context arg to logsurfer.conf man page

Version 1.6 (logsurfer+)
	Kerry Thompson kerry_at_crypt.gen.nz:
	+ added an optional parameter at the end of context definition
	  (just before action) specifying the minimum number of lines
	  collected which needs to be satisfied before performing action
	+ added -t option to explicity timeout contexts when exiting
	  default=off so contexts don't all trigger when we shut down
	+ only add lines to a context if the context has an action of
	  'pipe' or 'report'. In other words, don't store lines in
	  memory which won't ever be used. The number of matching
	  lines in the context is still incremented. This allows contexts
	  to be created which can notify if we _don't_ see an event, such
	  as regular "syslog pings" from hosts.