[syslog-ng] Spoofing syslog message in syslog-ng

Balazs Scheidler bazsi at balabit.hu
Thu Feb 22 21:30:28 CET 2007


On Thu, 2007-02-22 at 11:40 -0600, Ravi Papisetti -X (rpapiset - HCL at
Cisco) wrote:
> Hi,
>  
> Is there any way to append some text to syslog message in
> syslog-ng.conf and forward to NMS system. I would like to append a
> pre-defined text for every syslog message coming to syslog-ng and
> forward to NMS. Could you tell me the possible ways of doing it.

use template, such as:

destination d_nms { tcp("ipaddress" template("<$PRI> $HOST $MSG predefined text\n")); };

> 
-- 
Bazsi



More information about the syslog-ng mailing list