syslogd/doc/powervc-auth.md
2021-03-25 21:13:06 +01:00

20 lines
538 B
Markdown

# PowerVC Remote Loggging
Configure rsyslog on your PowerVC instance to forward authentication messages to a remote logging solution. We use *10.32.64.1* as our remote syslog server in this example.
Create a file new file in the **/etc/rsyslog.d** folder (eg. *remote.conf*) with the following content:
```text
# Log all authentication messages to remote host
auth.* @10.32.64.1
# Log messages with severity warning (or above) to remote host
*.warn @10.32.64.1
```
Restart the rsyslog service
```shell
systemctl restart rsyslog
```