add remote logging support to rsyslog
This commit is contained in:
parent
53c31e62d1
commit
1fcc2dd407
2 changed files with 20 additions and 0 deletions
11
roles/rsyslog/templates/remote.conf.j2
Normal file
11
roles/rsyslog/templates/remote.conf.j2
Normal file
|
@ -0,0 +1,11 @@
|
|||
# make gtls driver the default
|
||||
$DefaultNetstreamDriver gtls
|
||||
|
||||
# certificate files
|
||||
$DefaultNetstreamDriverCAFile {{ tls_bundle }}
|
||||
$DefaultNetstreamDriverCertFile {{ tls_certs }}/{{ inventory_hostname }}.crt
|
||||
$DefaultNetstreamDriverKeyFile {{ tls_private }}/{{ inventory_hostname }}.key
|
||||
|
||||
$ActionSendStreamDriverMode 1
|
||||
|
||||
*.* @@{{ log_server }}:6514
|
Loading…
Add table
Add a link
Reference in a new issue