<HTML dir=ltr><HEAD><TITLE>RE: [syslog-ng] compilation errors with --enable-spoof-source</TITLE></HEAD>
<BODY>
<DIV id=idOWAReplyText97418 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>I am looking for help in re-writing syslog message. Planning to use certain regular expressions and rewrite syslog message for integrating with a NMS.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Ex: When a syslog message</FONT></DIV>
<DIV dir=ltr>local7.err: 44: *Feb 28 19:01:08: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up </DIV>
<DIV dir=ltr>comes to syslog-ng. It should be able to grep for FastEthernet0/1 and rewrite as</DIV>
<DIV dir=ltr>
<DIV dir=ltr>local7.err: 44: *Feb 28 19:01:08: %LINK-3-UPDOWN: Interface FastEthernet0/1, changed state to up Component=FastEthernet0/1</DIV>
<DIV dir=ltr>and forward to NMS. </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Can we use match filter function as part of template definition? Any reference with examples would be helpful.</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Thanks in advance for your help.</DIV></DIV>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2></FONT> </DIV></DIV>
<DIV id=idSignature66093>
<DIV RE>Thanks,<BR>Ravi Kumar P.<PRE><FONT size=2></FONT> </PRE></DIV></DIV></BODY></HTML>