Hello ....<br><br>New user to syslog-ng but still hoping someone can help me with a small config example<br><br>Im forwarding syslog from my syslog-ng but when it arrives it has double timestamps/hostname:<br>--<br>Jan 19 11:02:58 cut-hostname 10.229.5.2 32176: Jan 19 11:02:57: %SFF8472-5-THRESHOLD_VIOLATION<br>
--<br><br>I have addet this info my config:<br><br>options {<br> use_time_recvd(yes);<br> keep_hostname(no);<br>}<br><br>also included:<br><br>destination udp_forward { udp("<my ip>"); };<br>
template fjern { template("$MSGONLY\n"); };<br>destination cisco_cupe { file("/var/log/cisco_cupe" template("fjern")); };<br>log {<br> source(s_all);<br> filter(local5);<br> destination(cisco_cupe);<br>
destination(udp_forward);<br>};<br><br>Cheers<br><br>Martin<br>