Skip to main content
Security Engine version:
Version: Next

Syslog Server

This module allows the Security Engine 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 example​

A basic configuration is as follows:

YAML
source: syslog
listen_addr: 127.0.0.1
listen_port: 4242
labels:
type: syslog

Parameters​

listen_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-line​

This module does not support command-line acquisition.

warning

This syslog datasource is currently intended for small setups, and is at risk of losing messages above a few hundred events per second. To process significant amounts of logs, rely on a dedicated syslog server such as rsyslog that writes logs to files the Security Engine reads. This page will be updated with further improvements of this data source.

CrowdSec Docs
We use cookies

This site uses cookies to help us improve your experience. You can accept or decline below.