[syslog-ng] syslog-ng with multiple destinations

swald.ext at orange.com swald.ext at orange.com
Tue Aug 21 09:46:11 UTC 2018


We are a syslog-ng configuration with multiple destinations :

source s_remote_udp {
  udp(ip( port(514));

source s_remote_tcp {
  tcp(ip( port(514) max-connections(1000) so_keepalive(yes));

destination d_SIEM_ { udp("" port(514)); };
destination d_BOX_ { file("/var/log/box/FLOW_$R_MONTH$R_DAY$R_HOUR$R_MIN.log" create_dirs(yes) dir_perm(0755) dir_owner(root) dir_group(root) owner(root) group(root)); };

filter f_SIEM_ { match("FLOW:"); };

log { source(s_remote_udp); source(s_remote_tcp); filter(f_SIEM_); destination(d_BOX_); destination(d_SIEM_);flags(flow-control,final); };

We can see kind of errors :
/var/log/syslog-ng.log : Aug  4 23:34:39 host1 syslog-ng[16290]: I/O error occurred while reading; fd='32', error='Connection reset by peer (104)'

We lose some logs. We have a syslog-ng version 3.2.

Can you help please please ?

How can I diagnose the problem? How do I get to the root of the problem? Maybe debugging syslog-ng?

Thanks in advance.

Best regards. Sebastian.


Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20180821/b1a84d07/attachment-0001.html>

More information about the syslog-ng mailing list