Anyone using urchin?
Dave Cheney
dave at cheney.net
Sun Mar 1 23:14:51 MSK 2009
I've used this log format to produce urchin compatible log files.
log_format urchin '$remote_addr $http_host - [$time_local]
"$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"
"$http_cookie"';
Cheers
Dave
On 02/03/2009, at 12:48 AM, Max wrote:
> Hello,
>
> I am using Urchin to process the log file. It works fine for apache
> log file. But if I process nginx log file, it seems urchin can't
> understand the nginx log file format. What should I change the log
> format of nginx in order to process by urchin? I am using the
> default log format as follow:
>
> log_format main '$remote_addr - $remote_user [$time_local]
> $request '
> '"$status" $body_bytes_sent "$http_referer" '
> '"$http_user_agent" "$http_x_forwarded_for"';
>
> Thanks.
>
> Max
More information about the nginx
mailing list