<br><font size=2 face="sans-serif">I'm in a position where I've got a device
that uses syslog-ng to filter multiple events into multiple diferent log
files. &nbsp;I need to send the logs to a central udp syslog server and
would like to have all events from this particular device show up as coming
from a specific facility (say local3) so that they get put into the correct
logfile on the central server. &nbsp;I've figured out that I have to define
a destination, filter, and log in syslog-ng.conf but I haven't figured
out how to mark all the logs to that destination with a specific facility.
&nbsp;Is that possible?</font>
<br>
<br><font size=2 face="sans-serif">For reference here's what I'm looking
at in terms of destination, filter, and log definitions in syslog-ng.conf:</font>
<br>
<br><font size=2 face="sans-serif">destination d_logger &nbsp; &nbsp; &nbsp;
&nbsp;{ </font>
<br><font size=2 face="sans-serif">udp (&quot;xxx.xxx.xxx.xxx&quot; port(514));
</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br><font size=2 face="sans-serif">filter f_all_logs_net {</font>
<br><font size=2 face="sans-serif">facility(auth,authpriv,kern,user,daemon,local0
.. local7) and level(warn .. emerg);</font>
<br><font size=2 face="sans-serif">};</font>
<br>
<br><font size=2 face="sans-serif">log {</font>
<br><font size=2 face="sans-serif">&nbsp; source(syslog-ng);</font>
<br><font size=2 face="sans-serif">&nbsp; filter (f_all_logs_net);</font>
<br><font size=2 face="sans-serif">&nbsp; destination(d_logger);</font>
<br><font size=2 face="sans-serif">}; </font>
<br>
<br><font size=2 face="sans-serif">Thanks in advance.</font>
<br><font size=2 face="sans-serif"><br>
-- <br>
-Damien<br>
<br>
Damien DeVille<br>
IT Network Engineer<br>
</font><font face="Helv" size=3 color=#000000 ></font><br><font face="Helv" size=3 color=#000000 ></font><br><font face="Helv" size=3 color=#000000 >This e-mail, and any attachment, is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, copying, dissemination or other use of this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. The contents of this message may contain personal views which are not the views of Discovery Communications, Inc. (DCI).</font><br>