Exporting logs via Rsyslog
info
This feature is only available in base versions 7.0.0 or above
Rsyslog is an open source logging utility that allows for log exporting. The following configuration provides with a very basic log exporting configuration.
-
SSH into the node to export the logs.
-
Execute the following commands to edit the rsyslog configuration:
sudo vim /etc/rsyslog.conf -
Add the following line replacing the
Targetvalue and thePortto the desired rsyslog ingestion server:action(type="omfwd" Target="10.128.1.12" Port="514" Protocol="tcp") -
Restart the rsyslog service:
sudo systemctl restart rsyslog.service
tip
This configuration has to be added for every single node in the cluster