Browse Source

FIX #20 doc integration with rsyslog

works perfectly!
boyska 5 years ago
parent
commit
b9c94870fa
1 changed files with 20 additions and 0 deletions
  1. 20 0
      docs/docs/install.md

+ 20 - 0
docs/docs/install.md

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