<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt;color:#000000;"><div>I have Apache logging working via a named pipe, however the log looks like:<br><br>Jan 25 14:44:13 $HOSTNAME $VIRTUAL_HOST: 000.000.000.000 - - [25/Jan/2011:14:44:13 -0600] "GET /foo.html HTTP/1.0" 200 24040 "-" "Wget/1.10.2 (Red Hat modified)"<br><br>I want to strip the syslog timestamp and $HOSTNAME.&nbsp; However, if I use "template("$MSGONLY\n")", it strips the timestamp, hostname *and* the $virtual_host (obtained from including "%V" in LogFormat and using 'vcommon' on apache server).<br><br>Any ideas on how to remove the syslog data but leave the vhost data in place?<br><br>Cheers!<br><br><br></div>
</div></body></html>