Browse Source

FIX #19 doc integration with syslog-ng

boyska 4 years ago
parent
commit
d3799d19f9
1 changed files with 15 additions and 0 deletions
  1. 15 0
      docs/docs/install.md

+ 15 - 0
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: