Syslog Server
This module allows crowdsec to expose a syslog server, and ingest logs directly from another syslog server (or any software that knows how to forward logs with syslog).
Only UDP is supported.
Syslog messages must conform either to RFC3164 or RFC5424, and can be up to 2048 bytes long by default (this value is configurable).
#
Configuration exampleA basic configuration is as follows:
source: sysloglisten_addr: 127.0.0.1listen_port: 4242labels: type: syslog
#
Parameterslisten_addr
#
Address on which the syslog will listen. Defaults to 127.0.0.1.
listen_port
#
UDP port used by the syslog server. Defaults to 514.
max_message_len
#
Maximum length of a syslog message (including priority and facility). Defaults to 2048.
source
#
Must be syslog
.
#
DSN and command-lineThis module does not support command-line acquisition.