Hi Dave,<br><br>Million thanks. Urchin can now process the nginx log file.<br><br>Max<br><br><div class="gmail_quote">On Mon, Mar 2, 2009 at 4:14 AM, Dave Cheney <span dir="ltr"><<a href="mailto:dave@cheney.net">dave@cheney.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I've used this log format to produce urchin compatible log files.<br>
<br>
log_format urchin '$remote_addr $http_host - [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_cookie"';<br>
<br>
Cheers<br><font color="#888888">
<br>
Dave</font><div><div></div><div class="Wj3C7c"><br>
<br>
On 02/03/2009, at 12:48 AM, Max wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
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:<br>
<br>
log_format main '$remote_addr - $remote_user [$time_local] $request '<br>
'"$status" $body_bytes_sent "$http_referer" '<br>
'"$http_user_agent" "$http_x_forwarded_for"';<br>
<br>
Thanks.<br>
<br>
Max<br>
</blockquote>
<br>
<br>
</div></div></blockquote></div><br>