Last active
April 15, 2025 06:56
-
-
Save CodeAdminDe/b4cdaaa895fa57c415a015ccb05b5b7c to your computer and use it in GitHub Desktop.
Simple, minimal syslog-ng.conf to configure a debug syslog server at 514/udp.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @version: 4.3 | |
| @include "scl.conf" | |
| source customsrc { udp(); }; | |
| destination customdest { file("/var/log/syslog-ng.log"); }; | |
| log { source(customsrc); destination(customdest); }; |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run -it -p 514:514/udp -p 601:601 --name syslog-ng balabit/syslog-ng:latestkubectl create ns ca-syslog-temp && kubectl label ns ca-syslog-temp pod-security.kubernetes.io/enforce=privileged && kubectl run syslog -n ca-syslog-temp --rm -i --tty --image balabit/syslog-ng:latest --command -- bash