Webalizer log format


#1

Im trying to use webalizer and I have nginx. I dont really know the log
format for webalizer… can anyone tell me how exacly webalizer need the
logs to look like?

Thanks!


#2

log_format cookie '$remote_addr - $remote_user ’
'[$time_local] “$request” $status $bytes_sent ’
'"$http_referer" “$http_user_agent” ’
‘"$http_cookie" “$server_name”’


#3

And view this
http://www.evilcoder.org/2008/07/06/nginx-logformat-awstats-readable/


#4

Robert G. wrote:

Im trying to use webalizer and I have nginx. I dont really know the log
format for webalizer… can anyone tell me how exacly webalizer need the
logs to look like?

Thanks!

The default format in nginx is “combined” and matches the default format
expected by webalizer (and Apache “combined”).

Regards

Ian