aboutsummaryrefslogtreecommitdiffstats
path: root/roles/host/templates
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-07-16 09:23:31 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-07-16 09:23:31 +0300
commit00f6ffae834b7b2735282db8b49dc51474aac572 (patch)
tree8f09c61bda43290c77f41e67e1f46e72a7862239 /roles/host/templates
parent63635dc1bc80cb928adf1dffb569b0987f1cfccc (diff)
Improve pylogsentinel find
Diffstat (limited to 'roles/host/templates')
-rw-r--r--roles/host/templates/usr_local_etc_pylogsentinel.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/host/templates/usr_local_etc_pylogsentinel.conf.j2 b/roles/host/templates/usr_local_etc_pylogsentinel.conf.j2
index cb80742..f116f99 100644
--- a/roles/host/templates/usr_local_etc_pylogsentinel.conf.j2
+++ b/roles/host/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' ! -name 'dmesg*' ! -name 'syncthing*'
+cmd = /usr/local/bin/fd -t f -E 'access.log' '\.log$' /var/log /usr/local/jails/containers/*/var/log
[logs.access]
paths = /usr/local/jails/containers/ingress/var/log/nginx/access.log