diff options
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/host/tasks/main.yml | 1 | ||||
| -rw-r--r-- | roles/host/templates/usr_local_etc_pylogsentinel.conf.j2 | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/host/tasks/main.yml b/roles/host/tasks/main.yml index bde4983..550804e 100644 --- a/roles/host/tasks/main.yml +++ b/roles/host/tasks/main.yml @@ -36,6 +36,7 @@ - vim - age - netdata + - fd-find loop_control: loop_var: pkg_name 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 |
