[syslog-ng] Removing Prefixes from Syslog-ng Messages

adam.j.brendamour at accenture.com adam.j.brendamour at accenture.com
Thu Apr 16 18:39:18 CEST 2009


Hello all,

 

I am having issues with syslog-ng adding prefixes to my messages.  I
currently have a syslog-ng agent sending messages from a log source to a
syslog-ng central server.  I am then sending the messages from the
central server to a 3rd party event management program.  Is there a way
to forward an unchanged syslog-ng message from the relay server?

 

For example:

Message arriving from source:   

Apr 16 09:31:07 psrdev47 10.56.9.12 - - [16/Apr/2009:09:31:02 -0700]
"GET / HTTP/1.1" 302 427 "-" "-"

Message being forwarded from server:  

Apr 16 09:31:07 10.56.2.77 125 <0>1 2009-04-16T09:31:02-07:00 psrdev47 -
- - - 10.56.9.12 - - [16/Apr/2009:09:31:02 -0700] "GET / HTTP/1.1" 302
427 "-" "-"

 

How can I configure the syslog-ng server to relay this unchanged message
to our destination?

Apr 16 09:31:07 psrdev47 10.56.9.12 - - [16/Apr/2009:09:31:02 -0700]
"GET / HTTP/1.1" 302 427 "-" "-"

 

Thanks for your help!

 

Regards,

Adam

 

 



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20090416/6bc7779f/attachment.htm 


More information about the syslog-ng mailing list