I'm running version syslog-ng-3.5.6-3.el7.x86_64
I've decided to go with the method of using multiple source ports.
source s_syslog-ports {
network(transport("udp") ip(10.25.10.52) port(514));
network(transport("tcp") ip(10.25.10.52) port(514) max-connections(100));
network(transport("tcp") ip(10.25.10.52) port(1514) max-connections(100) flags(no-parse));
};
However,
when I try to add another line with another udp port, it has and issue
with the configuration when I try to restart the service:
source s_syslog-ports {
network(transport("udp") ip(10.25.10.52) port(514));
network(transport("udp") ip(10.25.10.52) port(1514));
network(transport("tcp") ip(10.25.10.52) port(514) max-connections(100));
network(transport("tcp") ip(10.25.10.52) port(1514) max-connections(100) flags(no-parse));
};
Can you not specify multiple udp ports as sources?