KWTS: Send only detects to external syslog server [Kaspersky Web Traffic Security]
Description and cautions
Here's how to configure export only detects from KWTS to external syslog server, which accepts TCP stream on facility local1.
Details
-
Create file /etc/rsyslog.d/kwts-detects.conf with contents as per below (replace SERVER:PORT by your external syslog server, @SERVER:PORT if UDP is in use instead of TCP)
$ActionQueueFileName KWTSDetects
$ActionQueueType LinkedList
$ActionQueueMaxDiskSpace 1g
$ActionResumeRetryCount -
1
$ActionQueueSaveOnShutdown on
if
($syslogfacility-text ==
'local1'
and (
$msg contains
'av-status="Detected'
or
$msg contains
'encrypted="Detected'
or
$msg contains
'macros="Detected'
or
$msg contains
'ap-status="Detected'
or
$msg contains
'mlf-status="Detected'
or
$msg contains
'kata-alert="Detected'
)) then {
@
@SERVER
:PORT
}
-
Restart rsyslog service like this:
systemctl restart rsyslog
0 Comments
Recommended Comments
There are no comments to display.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now