forked from boyska/circolog
FIX #19 doc integration with syslog-ng
This commit is contained in:
parent
b9c94870fa
commit
d3799d19f9
1 changed files with 15 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue