Hello Muhammad Fadzil AB Razak,
Here, at syslog-ng side, we send Imperva logs (to port 10514, but it works with any unused UDP port) to our syslog-ng server (used in conjunction with Splunk) with following entries on /etc/syslog-ng/syslog-ng.conf:
source s_udp_impervaDAM_10514 {
udp(ip("0.0.0.0") port(10514));
};
destination d_impervaDAM {
file("/path/to/syslog-ng/logs/${HOST}/${HOST}.log");
}
log { source(s_udp_impervaDAM_10514); destination(d_impervaDAM); };
With this settings and configuring DAM with docs provided by Syed and Agustin, you'll have success to send logs to you syslog/siem server.
PS: Don't forget to set some log rotation configuration, to avoid increase and full disk space on your syslog-ng server.
I hope it helps
Regards
------------------------------
Uiliam de Mello
Information Security Analyst
Brazil
------------------------------