FIX #19 doc integration with syslog-ng

This commit is contained in:
boyska 2019-04-26 01:28:37 +02:00
parent b9c94870fa
commit d3799d19f9

View file

@ -27,6 +27,21 @@ endless, we tried to document some common setups.
#### Use Case: circologd receiving messages from syslog-ng #### 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 #### Use Case: circologd receiving messages from rsyslog
rsyslogd can easily be configured to send every message to circolog: rsyslogd can easily be configured to send every message to circolog: