Mercurial > repos > other > Puppet
view common/logwatch/log-http-error.conf @ 192:893391e42d94 puppet-3.6
Update logwatch fail2ban handling for v0.10 log changes
* Ignore "Flush tickets"
* Tighten regex so "[rule] Restore Ban" doesn't become separate
"rule] Restore"
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 12 Feb 2019 21:04:51 +0000 |
parents | 8316d4e55e92 |
children |
line wrap: on
line source
######################################################## # Define log file group for httpd ######################################################## # What actual file? Defaults to LogPath if not absolute path.... LogFile = apache/error_*.log LogFile = apache/error_*.log.1 # If the archives are searched, here is one or more line # (optionally containing wildcards) that tell where they are... #If you use a "-" in naming add that as well -mgt Archive = apache/error_*.log.*.gz # Expand the repeats (actually just removes them now) *ExpandRepeats # Keep only the lines in the proper date range... #*ApplyHttpErrorDate *ApplyStdDate = "\[%a %b %d %H:%M:%S.\d{6} %Y\]" *RemoveHeaders = "\[\w{3} \w{3} \d{1,2} \d\d:\d\d:\d\d(\.\d*)? \d{4}\] " # vi: shiftwidth=3 tabstop=3 et