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
Dustin 2022-03-29 10:33:59 -05:00
parent a3c2afc3fa
commit 1737604441
1 changed files with 6 additions and 1 deletions

View File

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