Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Summary-Talk] Different logs within the same folder



I have a related question:

One of my clients has 28 separate, low-traffic domains on my Apache
server. I initially configured 28 separate sub-reports, one for each
domain, but with other sites, that quickly ate up my 50 sub-reports
permitted in Summary Plus. Boo! For the time being (and because this
client hasn't been too concerned with hit statistics yet), I modified
my configuration so that all 28 virtual host logs files are saved to a
single folder, and I have only 1 sub-report, covering all of the
domains for that client.

Of course, that means that I can't really get any useful individual
statistics on a per-domain basis. I don't really need a full breakdown
of stats for each domain (which obviously would call for an upgrade to
Summary SP or SP Lite), but I was wondering if I could get even the
most basic statistics, like total hits for www.example.com,
www.example2.com, www.example3.com, etc without abandoing my
single-sub-report configuration.

I'm using a standard Apache log format, so the virtual host is NOT
being logged (but I'd be happy to change that if it would help). Since
Summary pays no attention to which log file it parsed for the
information, it obviously can't distinguish between hits to "/" on
www.example.com and the same hit on www.example2.com. But could adding
a "%{HOST}i" token to the Apache logs provide me with that extra
information? Would that make each domain appear individually, at least
in the Details: Domains report (which looks like it might be just the
overview I need)?

Cheers,
spud.

On Mar 17, 2005, at 10:33 AM, Jason Linhart wrote:

> Summary doesn't create sub-reports based on the log file name. To make
> the sub-reports you want you would need to sort the logs out into
> different folders. See
> <http://summary.net/manual/virtualdomains.html#method4> for more 
> details
> on how to do this.
>
> Good Luck
> Jason
>
>
> Pablo F. Garcia Melga wrote:
>> Jason, I have all the logs for my different sites within the same 
>> folder
>> with different names eg.:
>>
>> 2005.03.17.(country).access.log.gz
>> country would be ar, br, ve, us.
>>
>> is there any way I can configure summary to create a subreport and
>> analyze only ar for SubReport ar, us for subreport us and so on ?
>
> -- 
> Jason@Summary.Net
> --
> Dr. Seuss books . . . can be read and enjoyed on several levels. For
> example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed
> as a searing indictment of the narrow-minded binary counting system.
>     -- Peter van der Linden, Expert C Programming, Deep C Secrets
>
-------------------------------------------------------------------
a.h.s. boy
spud(at)nothingness.org            "as yes is to if,love is to yes"
http://www.nothingness.org/
-------------------------------------------------------------------
-------------
Go to <http://summary.net/list.html> to update subscription info.