The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

saftpresse - a modular and configurable logfile analyzer

VERSION

version 1.5

Synopsis

  usage: bin/saftpresse
        [--config|-c <file>]
        [--log-level|-l <level>]
        [--help|-h]

Description

Saftpresse is a modular log file analyzer written perl.

It features plugin architecture for

Inputs

For reading events from multiple sources.

Log::Saftpresse::Input::Stdin

Reads log lines from STDIN.

Log::Saftpresse::Input::FileTail

Will read all new lines from a file like tail(1) does.

Log::Saftpresse::Input::Server

Line based TCP server. (eg. for syslog)

Log::Saftpresse::Input::RELP

A TCP server implmenting the RELP protocol.

Plugins

For processing of events.

Plugins are able to convert or alter events. They can add additional information like dns lookup or geo-locations. They can also create relationships between events. For example measure the time between the connect and disconnect of a client.

A counter api could be used to meter events and their content.

Log::Saftpresse::Plugin::Amavis

Plugin for amavisd-new log output.

Log::Saftpresse::Plugin::Apache

Plugin for apache httpd log output.

Log::Saftpresse::Plugin::GeoIP

Plugin for looking up ip in GeoIP database.

Log::Saftpresse::Plugin::GraphitLineFormat

Plugin for parsing graphit line format messages.

Log::Saftpresse::Plugin::LinuxNetfilter

Plugin for parsing output of linux netfilters LOG target.

Log::Saftpresse::Plugin::Postfix

Plugin for parsing postfix mail logs based on pflogsumm.

Log::Saftpresse::Plugin::PostfixGeoStats

Plugin to add geoip information to postfix events.

Log::Saftpresse::Plugin::Syslog

Plugin to parse syslog network line format.

Log::Saftpresse::Plugin::SyslogFile

Plugin to parse syslog file format. (/var/log/...)

Outputs

Multiple outputs can be defined for storing of events.

Log::Saftpresse::Output::Elasticsearch

Write events to an elasticsearch server.

Log::Saftpresse::Output::Graphite

Write graphit events to an carbon line reciever.

Log::Saftpresse::Output::JSON

Dump events in JSON format.

Counter Outputs

Multiple outputs can be defined for storing of counter data.

Log::Saftpresse::CountersOutput::Dump

Dumper metric data.

Log::Saftpresse::CountersOutput::Graphite

Write metrics to a carbon line reciever.

Architecture

The saftpresse engine is currently designed as a single process using non-blocking IO.

AUTHOR

Markus Benning <ich@markusbenning.de>

COPYRIGHT AND LICENSE

This software is Copyright (c) 1998 by James S. Seymour, 2015 by Markus Benning.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991