[syslog-ng]Doing a regex substitution in syslog-ng

Donavan Pantke [email protected]
Mon, 10 Jun 2002 21:20:43 -0400


=09Hey guys, I'm trying to make a syslog-ng solution to recieve logs from=
 some=20
custom java apps that output syslog data, but I have an issue. Our=20
programmers have already defined a format for their messages, and our log=
=20
parsers expect this format. I can pass the data around syslog systems, bu=
t at=20
the destination file, I need to strip off the syslog headers to leave me =
with=20
the raw message that was came out of the ajva app. I was hoping that I co=
uld=20
do something akin to a filter that did a regex substitution to modify the=
=20
message to make it look pretty. Is this possible, and if not, is there an=
y=20
other way of pulling this off?

=09Thanks
=09Donavan Pantke