From d3799d19f9833a0c6fe30b9a6431a60ac34cd36b Mon Sep 17 00:00:00 2001 From: boyska Date: Fri, 26 Apr 2019 01:28:37 +0200 Subject: [PATCH] FIX #19 doc integration with syslog-ng --- docs/docs/install.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/docs/install.md b/docs/docs/install.md index ac0c4f5..9661efb 100644 --- a/docs/docs/install.md +++ b/docs/docs/install.md @@ -27,6 +27,21 @@ endless, we tried to document some common setups. #### Use Case: circologd receiving messages from syslog-ng +Put this in `/etc/syslog-ng/conf.d/circolog.conf` + +``` +destination d_circolog { + unix-dgram("/run/circolog/syslog.sock" + flags(syslog-protocol) + ); +}; +log { source(s_src); destination(d_circolog); }; +``` + +This doesn't tell syslog-ng not to log to disk. + +Change `/etc/syslog-ng.conf` according to your need. + #### Use Case: circologd receiving messages from rsyslog rsyslogd can easily be configured to send every message to circolog: