What I have:
1. Syslog-NG on Centos 7.9
syslog-ng 3.5.6
Installer-Version: 3.5.6
Revision:
Compile-Date: Dec 30 2015 19:57:24
Available-Modules: affile,afprog,afsocket-notls,afsocket-tls,afsocket,afstomp,afuser,basicfuncs,confgen,cryptofuncs,csvparser,dbparser,linux-kmsg-format,syslogformat,system-source
Enable-Debug: off
Enable-GProf: off
Enable-Memtrace: off
Enable-IPv6: on
Enable-Spoof-Source: on
Enable-TCP-Wrapper: on
Enable-Linux-Caps: on
Enable-Pcre: on
2. Syslog Watcher as my Remote Log Server
3. Configuration:
source from_switch {
network (
ip(0.0.0.0)
port(1515)
transport("udp")
flags(no-parse)
);
};
destination collector {
network (
"192.168.168.151"
port(1515)
transport("udp")
ip-protocol(4)
template("${MESSAGE}")
);
};
log {
source(from_switch);
destination(collector);
};
Issue/Concern:
i can confim syslog-ng received the logs from the switch but the issue is that in the forwarding of data going to my Remote Log Server.
Goal: I want to have the logs received in my Syslog-NG server not only be written in a file within the Syslog-NG server (this is the default) but also be sent to a Remote Log Server at the same time in syslog (this is what i want in parallel).