The rsyslog service is used to transmit events from the server to the KUMA collector.
To configure the sending of events from the server where ProFTPD is installed to the collector:
systemctl status rsyslog.service
If the rsyslog service is not installed on the server, install it by executing the following commands:
yum install rsyslog
systemctl enable rsyslog.service
systemctl start rsyslog.service
$ModLoad imfile
$InputFileName /var/log/proftpd/*.log
$InputFileTag tag_proftpd_log:
$InputFileStateFile proftpd_log
$InputRunFileMonitor
if $syslogtag contains 'tag_proftpd_log' then {
*.* action(type="omfwd" target="@<IP address of the KUMA collector>" port="<port of the KUMA collector>" protocol="tcp")
stop
}
$ModLoad imfile
$InputFileName /var/log/proftpd/*.log
$InputFileTag tag_proftpd_log:
$InputFileStateFile proftpd_log
$InputRunFileMonitor
if $syslogtag contains 'tag_proftpd_log' then {
*.* action(type="omfwd" target="@<IP address of the KUMA collector>" port="<port of the KUMA collector>" protocol="udp")
stop
}
systemctl restart rsyslog.service
The event source server is configured. Data about events is transmitted from the server to the KUMA collector.
Page top