|
@@ -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:
|