[users@httpd] CustomLog Help ? Somebody?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all. 
 
I have an issue which, I am sure someone out there has encountered in the past. 
 
I have a website, whose authors have written some of the URLs in a format which contains characters which are not well liked by my log analysis tools (Deepmetrix Livestats).
 
I would like to simply strip off the bad characters using a CustomLog directive by piping to sed and then piping to rotatelogs, but cannot seem to make it work.
 
CustomLog "|/bin/sed 's/;variable/?variable' | /usr/sbin/rotatelogs /etc/httpd/logs/mysite.%Y-%m-%d-%H_%M_%S 5M" combined
 
The result is the entire line not getting logged.
 
Any help would be greatly appreciated.
 
David Morrow
Technical Systems Lead
Autodata Solutions Company
David.Morrow@xxxxxxxxxxxx
http://www.autodatasolutions.com
 
Tel: (519) 963-3020
Fax: (519) 451-6615
 
< Lead, follow or get out of the way! >
 

This message has originated from Autodata Solutions. The attached material is the Confidential and Proprietary Information of Autodata Solutions. This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete this message and notify the Autodata system administrator at Administrator@xxxxxxxxxxxx <mailto:Administrator@xxxxxxxxxxxx>

 

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux