On 01/05/2015 17:45, Benning, Markus wrote:
Hi,
if you are willed to test my pflogsumm fork and to provide some sample
loglines
i'll implement postscreen statistics.
You can find the project at Github:
https://github.com/benningm/saftpresse
I modularized the pflogsumm code into seperate plugins:
https://github.com/benningm/saftpresse/tree/master/lib/Log/Saftpresse/Plugin
Also Input and Outputs.
There are 2 commands. The command saftpresse will be a new interface
to the code which
is configurable by configuration file. It is still work in progress.
The command saftsumm tries to resemble the pflogsumm commandline
interface.
Additional features already in it are TLS and GeoIP statistics, and
different outputs.
Currently pflogsumm, HTML, JSON and perl Dump.
My goal for saftpresse is to use it also for structured logging and to
implement
more than just postfix logging.
Can you provide more information how to install?
The following command do nothing:
#./saftsumm -d yesterday /var/log/maillog
What I do on Centos 6.6:
put the lib/Log to /usr/share/perl5/
The test.pl says:
Parameter module is not defined for Input FileTail! at
/usr/share/perl5/Log/Saftpresse/Slurp.pm line 62.
Thanks,
--
Levi