rsyslog: Send logs to Graylog
Ideally, we would use the log server address provided by DHCP, but for now, we will just hard-code the destination.pull/1/head
parent
a3c2afc3fa
commit
1737604441
|
@ -1,4 +1,9 @@
|
||||||
global(workDirectory="/var/lib/rsyslog")
|
global(workDirectory="/var/lib/rsyslog")
|
||||||
module(load="imjournal"
|
module(load="imjournal"
|
||||||
StateFile="imjournal.state")
|
StateFile="imjournal.state")
|
||||||
*.* @172.30.0.28
|
action(
|
||||||
|
type="omfwd"
|
||||||
|
Target="172.30.0.17"
|
||||||
|
Port="514"
|
||||||
|
template="RSYSLOG_SyslogProtocol23Format"
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue