[syslog-ng] non standard syslog messgae!

Balazs Scheidler bazsi at balabit.hu
Fri Sep 14 10:29:48 CEST 2007


On Fri, 2007-09-14 at 12:03 +0800, Wilson Lai wrote:
> Hi,
>     The message is not generated from a Cisco device. It is a third 
> party application log which has the format as follow ;
>           " Error     Browser    (Service 14)    Thu May 10 01:52:15 
> 2007
>              [OM 0]
>              Pid of logging process: 1029
>                   Last Msg ID : JavaMail.root(a).scalix.x.y.com
>                   Last Msg DirectRef: 000a4beace41e153 "          "
>     How could I convert it into a standard syslog format?
>     Thanks.

Is this a log file currently?  Syslog-ng would convert this multi-line
log message as individual log entries, which is probably not what you
want.

You can use a script or something that makes this look like syslog and
then write it to a named pipe or something and have syslog-ng read that.

-- 
Bazsi



More information about the syslog-ng mailing list