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

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



On Mar 31, 2005, at 4:16 PM, Jason Linhart wrote:

> If you can get the domain information to appear in Summary for those
> logs, you can use the Details : Domains report to see the overall 
> totals for each domain.
>
> There are two ways to get that happening. Which one you use depends on
> how you have your sub-reports setup. If you are using method four, from
> the manual
> <http://summary.net/manual/virtualdomains.html#configdomains>, you
> should split the logs back up into separate logs folders for each 
> domain and reconfigure that sub-report to include all of those
> different folders.

Upon reading this, that was going to be my first choice...however,
there's no easy way to do this with log downloading...right now I have
it download all "sh_*.log" files, where the * matches a domain-specific
string. But I can only dump it into a single folder (unless there's an
undocumented regex pattern replacement feature that would let me
download sh_(*).log files and put them into the folder "\1"...but I
doubt it!)

I could write a shell script to move the files after downloading, but
since Summary downloads just before processing, it wouldn't have time
to run.

> If you are using method two or three, the Apache "%{HOST}i" approach 
> you
> were talking about, then Summary will produce the desired Domain report
> automatically. The problem is that you can't mix this with other logs
> using method four very easily.

I'll have to try this...and since Apache allows a per-virtual-host log
format, I'm not sure why this would conflict with the logs from other
virtual domains. But I'll find out!

Cheers,
spud.

-------------------------------------------------------------------
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.