[syslog-ng] Remote server not keeping message intact

MÓZES Ádám István mozes.adam.istvan at gmail.com
Thu Nov 12 11:35:44 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

> The problem is I'd like to strip out the received timestamp and 
> hostname from the beginning of the log and only have the raw
> Apache message.

The syslog format is quite different from the Common Log Format,
therefore parsing the CLF might not be the easiest solution.
If you can change the log format in the Apache configuration, that
would be much easier.

Here is what I found:
http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#formats

Best Regards,
Ádám
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCgAGBQJWRGt3AAoJEISh0dl+cj6LtN0H/j0kNT6YID0GeC/9r0nrcg5L
fOb3hbbsvSD6Odxm83WGBsliZ8jX1jOEUvZb1BhcFU6+njLAybGis/Ali8dQNUbe
LGaHUluEUx9vKMaHUbIxTYLG8mU69a/WvDgh+3HA4ZKGmq3JjAWcHos0v1IBCPXU
/gekjaWQ9LKobuZbJ1lx6n6Y2FUCqlwQlVxDMl4JxEYNRIZIEN5CmhK3rCRI3l4q
w74QcVLcTFHv2Y/Vesfe5uB/5ZI9IHmG2AggH7PznzUH6WJkGJm7w7KE7B+tcuA+
WbqK6JQrcLNWNrk4R3FKHo/fCOUkFAS3grDcKscEk7D+3XQACjLtMMhM3jid98M=
=Ztqt
-----END PGP SIGNATURE-----


More information about the syslog-ng mailing list