Add support for haproxy logs

This commit is contained in:
2025-03-20 18:49:50 +01:00
parent 492e692137
commit ba62e87a00
4 changed files with 79 additions and 4 deletions

View File

@@ -13,7 +13,7 @@
# this is based on the normal syslog-in-db format
logfile = '/var/log/parser_filter.log' #Our logfile
modules = 'dovecot','exim','ssh','apache','gitea' #List of modules available
modules = 'dovecot','exim','ssh','apache','gitea','haproxy' #List of modules available
#One entry per module, beware, no stray spaces allowed:)
dovecot = 'file','/usr/local/jails/thinjails/dovecot/var/log/maillog'
@@ -21,6 +21,7 @@ exim = 'file','/var/log/exim/mainlog'
apache = 'file','/var/log/apache-error.log'
ssh = 'db','syslog.logs','sshd'
gitea = 'file','/usr/local/jails/thinjails/gitea/var/log/gitea/gitea.log'
haproxy = 'file','/var/log/haproxy.log'
#why we have the first entry here, I'm not too sure about, since the module itself also
#needs to know what type of fetcher it wants. Ancient code is ancient. Undocumented ideas are bad:)