Created
September 27, 2016 14:53
-
-
Save faxm0dem/d724227d9078693c45c84e2c22f3ce71 to your computer and use it in GitHub Desktop.
syslog-ng debugging config
This file contains 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
☠ syslog-ng -f syslog-ng-debug.conf -R /tmp/R -p /tmp/p -c /tmp/c -Fdv |
This file contains 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: 3.8 | |
log { | |
source { file("/dev/stdin" flags(no-parse)); }; | |
destination { file("/dev/stdout" template("$(format-json -s all-nv-pairs)\n")); }; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment