This is a couple of configuration files and parsing scripts for Logwatch to parse messages for a couple of non-standard services.
- Copy
conf/services/service.confto/etc/logwatch/conf/services - Copy
scripts/services/serviceto/etc/logwatch/scripts/services - Make the script in
/etc/logwatch/scripts/servicesexecutable
Substitute [service] with the service which you want to install. Currently this repository holds the following services:
- grsec
- vnstat
For testing I'm using the logwatch utility with output redirected to stdout.
For testing grsec I use paxtest to generate some log entries.
$ paxtest kiddie
$ logwatch --output stdout --range Today