summaryrefslogtreecommitdiff
path: root/security/crowdsec/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/crowdsec/files')
-rw-r--r--security/crowdsec/files/acquis.yaml.sample18
-rw-r--r--security/crowdsec/files/patch-config_acquis.yaml12
2 files changed, 18 insertions, 12 deletions
diff --git a/security/crowdsec/files/acquis.yaml.sample b/security/crowdsec/files/acquis.yaml.sample
new file mode 100644
index 000000000000..b994f31b0a6b
--- /dev/null
+++ b/security/crowdsec/files/acquis.yaml.sample
@@ -0,0 +1,18 @@
+filenames:
+ - /var/log/nginx/*.log
+ - ./tests/nginx/nginx.log
+#this is not a syslog log, indicate which kind of logs it is
+labels:
+ type: nginx
+---
+filenames:
+ - /var/log/auth.log
+ - /var/log/syslog
+labels:
+ type: syslog
+---
+filenames:
+ - /var/log/httpd-access.log
+ - /var/log/httpd-error.log
+labels:
+ type: apache2
diff --git a/security/crowdsec/files/patch-config_acquis.yaml b/security/crowdsec/files/patch-config_acquis.yaml
deleted file mode 100644
index 67b4ef3c693b..000000000000
--- a/security/crowdsec/files/patch-config_acquis.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
---- config/acquis.yaml.orig 2021-12-15 10:39:37 UTC
-+++ config/acquis.yaml
-@@ -11,6 +11,8 @@ filenames:
- labels:
- type: syslog
- ---
--filename: /var/log/apache2/*.log
-+filenames:
-+ - /var/log/httpd-access.log
-+ - /var/log/httpd-error.log
- labels:
- type: apache2