forked from boyska/circolog
parent
2e1ab137ea
commit
b9c94870fa
1 changed files with 20 additions and 0 deletions
|
@ -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 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
|
#### Use Case: circologd receiving messages from journald
|
||||||
|
|
||||||
[TODO: il codice va ancora scritto: bisogna bindare /run/systemd/journal/syslog
|
[TODO: il codice va ancora scritto: bisogna bindare /run/systemd/journal/syslog
|
||||||
|
|
Loading…
Reference in a new issue