Reprocess raw http logs into domain specific logs?

Spook

Verified User
Joined
Jan 3, 2006
Messages
138
Hi,
I had some permission errors on one domain where it's webalizer stats were not being updated. I managed to finally get around to fixing this and decided to add awstats also.

I have some logs in /var/log/nginx/ which cover june and july to present.

Is there a way to have these logs (access_log, access_log.1, etc), assuming these are the sources, reprocessed and split out into the numerous /var/log/nginx/domains/ log files which awstats and webalizer appear to use?

The info I been reading on awstats specific steps to handle old logs seem promising but also seem to require the domain specific logs which have all been already chewed on and zeroed.
 
Hello,

Since you are using NGINX, your issue seems to be related to CB 2.0. I've moved your thread, so it could be found more easily.
 
CustomBuild 2.0 already logs domains related info to /var/log/nginx/domains/, so it must be a manual customized installation of nginx.
 
Back
Top