You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As nginx supports multiple `access_log` and `error_log` directives, you can keep the existing directives to still have a local copy of the logs.
97
+
79
98
### Auth logs
80
99
81
100
Create a file `/etc/rsyslog.d/99-auth-forward.conf` with the following content:
@@ -124,8 +143,6 @@ labels:
124
143
type: syslog
125
144
```
126
145
127
-
128
-
129
146
Note that we are setting the type label to `syslog`. This will instruct crowdsec to use the `syslog` parser to extract the actual type from the log itself.
130
147
131
148
Then, we need to install the nginx collection for crowdsec to be able to detect attacks:
0 commit comments