<div dir="ltr">Hi,<div><br></div><div>Possible to wipe up a sample config? <br>Might clear things up? </div><div><br></div><div>My apache is writing logs into /var/log/apache/<a href="http://www.contoso.com">www.contoso.com</a>.</div><div><br></div><div>This is for example one of my apache virtual host. </div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Yours Sincerely,</div><div>Delon Lee</div><div dir="ltr"><div><br><br><div class="gmail_quote"><div dir="ltr">On Mon, 7 May 2018 at 23:57 Gergely Nagy <<a href="mailto:algernon@balabit.com" target="_blank">algernon@balabit.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>>>>> "Delon" == Delon Lee Di Lun <<a href="mailto:lee.delon2005@gmail.com" target="_blank">lee.delon2005@gmail.com</a>> writes:<br>
<br>
Delon> In response to gergely, the 2nd option would require the changes to be made<br>
Delon> on the "apache side" of things right? If so, its unlikely possible in my<br>
Delon> use case.<br>
<br>
No, you can do that with rsyslog and syslog-ng too. Both allow you to<br>
tinker with the syslog headers.<br>
<br>
Ideally, changing the Apache-generated log format to conform to a syslog<br>
RFC would be ideal, but I understand that's not something most are<br>
willing - or able/allowed - to make. So the next best option is to<br>
fiddle with the syslog fields on the syslog side of things.<br>
<br>
-- <br>
|8]<br>
</blockquote></div></div></div></div>