FIX #20 doc integration with rsyslog

works perfectly!
This commit is contained in:
boyska 2019-04-26 01:11:01 +02:00
parent 2e1ab137ea
commit b9c94870fa

View file

@ -27,6 +27,26 @@ endless, we tried to document some common setups.
#### Use Case: circologd receiving messages from syslog-ng
#### Use Case: circologd receiving messages from rsyslog
rsyslogd can easily be configured to send every message to circolog:
```
$ModLoad omuxsock
$OMUxSockSocket /tmp/circolog.sock
*.* :omuxsock:
```
If you want to force messages of level `debug` and `info` not to be logged to disk, you can put this snippet
at the **top** of the rules
```
$ModLoad omuxsock
$OMUxSockSocket /tmp/circolog.sock
*.* :omuxsock:
*.=debug;*.=info stop
```
#### Use Case: circologd receiving messages from journald
[TODO: il codice va ancora scritto: bisogna bindare /run/systemd/journal/syslog