-----Original Message----- From: Always Learning Sent: Thursday, November 21, 2019 4:25 PM
On Thu, 2019-11-21 at 13:44 +0100, Adrian van Bloois wrote:
I wonder if there is a script to analyze logfiles for llogwatch and sshguard? Anyone knows?
You can take an existing script, for another piece of software reported by Logwatch, retain the beginning and ending parts, and create your own version. The completed script should be placed in /etc to ensure it is not over-written by software updates.
A supplemental RPM will help you with this ...
It can be difficult sorting-out the names of the different scripts and their directory locations, but I did it despite being unfamiliar with the programming language - Python ?
There is a logwatch mailing list, I am on it...
If you need help authoring it, post there. Logwatch-devel on lists.sourceforge.net
I did it in C5 and C6 for Exim some years ago and the result was ideal for my requirements.
v/r,
Jason Pyeron