rsyslog is a service for managing system logs. It works as a daemon, providing tools to collect messages and send them to a storage location.
Functions of rsyslog:
The system is highly configurable: you can set it to save any type of message to any file.
rsyslog can receive and transmit logs over the syslog protocol across a network, using both TCP and UDP through the standard port 514.
Scripts for integrating SCAT logs with syslog and systemd units for their execution:
parser.bash
— monitors SCAT logs and converts them to rsyslog format using the logger module. bng_logmon.service
— systemd units to launch the scripts. bng.conf
— an example configuration for sending logs to a remote server, which can be used as is or modified for more flexible settings. bnglogmon
:yum install bnglogmon
/etc/rsyslog.d/bng.conf
— specify the server address and the sender’s IP address (if necessary, provide a specific IP). bnglogmon
at system boot:systemctl enable bnglogmon.service
systemctl start bnglogmon.service
systemctl restart rsyslog.service
The rsyslog daemon is configured according to the settings described in its official documentation.