Configure a remote logging solution
Ensure that logs from various machines in your environment are recorded centrally on a logging server. You can configure the Rsyslog application to forward logs that meet specific criteria from client systems to the server.
Choose a transport protocol based on your requirements:
- TCP
- Reliable delivery with message acknowledgment. Use when log integrity is important.
- UDP
- Faster but messages can be lost. Use when speed is critical and occasional log loss is acceptable.
- TLS
- Encrypted transport over TCP. Use when sending logs over untrusted networks.
- RELP
- Reliable delivery with reduced risk of message loss, even during network outages. Use in environments where no log messages must be lost.