On Sunday, November 20, 2005 7:22 AM [EDT], [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> hi there, > > i've got a problem about generating correct cachefiles: > I want to create cachefiles for each host from one big logfile. this > is what two cfg files look like - only their different parts: > > first one: > CACHEOUTFILE /statistik/mylogs/micha/aaacacheoutfile > HOSTNAME "blabla" > HOSTURL http://www.some-url.com/aaa/ > > second: > CACHEOUTFILE /statistik/mylogs/micha/bbbcacheoutfile > HOSTNAME "rhubarb" > HOSTURL http://www.some-url.com/bbb/ > > the log- and (html-)outputfile file is given by the commandline. > example: > analog +g/statistik/mlogs/micha/aaainfo.cfg -G > /statistik/mlogs/micha/logs/log-051003.gz > +O/statistik/mlogs/micha/aaa.html > > the problem is that the cachefiles and the statistic.html files have > the same results - but they shouldn't. > > what am i doing wrong? HOSTNAME and HOSTURL simply modify the "Web Statistics for ..." link at the top of your output. http://analog.cx/docs/output.html#HOSTNAME Your commands above simply create the same report with two different headers. You need to tell Analog to only parse the log entries for a prticular Virtual Host, using something like VHOSTINCLUDE. Aengus +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

