aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/usr_local_etc_pylogsentinel.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/usr_local_etc_pylogsentinel.conf.j2 b/templates/usr_local_etc_pylogsentinel.conf.j2
index 5892a98..c169ade 100644
--- a/templates/usr_local_etc_pylogsentinel.conf.j2
+++ b/templates/usr_local_etc_pylogsentinel.conf.j2
@@ -3,7 +3,7 @@ state_dir = /var/run/pylogsentinel
max_block_size = 10M
[logs.standard]
-cmd = find / -type f -path '*/var/log/*' ! -name 'access.log' ! -name '*.bz2'
+cmd = find / -type f -path '*/var/log/*' ! -name '*.access.log' ! -name '*.bz2'
[logs.access]
paths = /usr/local/jails/containers/ingress/var/log/nginx/access.log
@@ -13,7 +13,7 @@ cmd = echo -e "---------\nMatched $RULE_ID in $FILE at line $LINE, context:\n\n$
[rule.error]
description = Error-like conditions
-pattern = /(error|fatal|exception|kill)/i
+pattern = /(error|fatal|exception|killed)/i
logs = standard
[rule.access]