Greetings,

I hope this question hasn't been asked before, and if it has, I apologize.
I have read and reread the docs, searched the list, and still came up empty
handed.

I'm trying to entice analog 4.1 (Linux-Intel RH 6.1/Apache 1.3.12) to poke
around in the many VirtualHost access logs we have and produce one report
which contains three columns: | domain name | bytes transferred | total
requests |.  I'd like to be able to have the ability to click on the column
header and view another report which sorts by that specific header, but
that's not really important.  A simple sort by bytes transferred would work
fine.  Maybe this could be achieved by running two different reports?

I looked at the virtdoms.cfg file and tried to create my own config using
that as an example.  Here's what the top of my config file looks like:

LOGFORMAT COMBINED
LOGFILE /logs/domain1_access_log http://www.domain1.com
LOGFILE /logs/domain2_access_log http://www.domain2.com
LOGFILE /logs/domain3_access_log http://www.domain3.com
...

These logs are 'CustomLog /logs/domainX_access_log combined' format.

When I run analog with the above config, general reporting only, output to
one file, and the following warning is produced:

./analog: Warning L: logfiles /logs/domain1-access_log and
  /logs/domain2-access_log overlap: possible double counting

And it continues for just about every combination of LOGFILE config lines.
I have read that this is most likely harmless, and it seems to have produced
valid results, but is there a way to stop this warning from appearing via
the configuration?  If not I'll probably end up creating a shell script
which recycles the analog error log each time it's run so I can check on the
status of analog's last run.

Onto my next question.  I poked and prodded all kinds of report
configurations into the config file to achieve the report I'm after,
mentioned above, with absolutely no luck.  I figured that Vhost reporting
was what I am after, but every variation of that I tried always ended up
producing './analog: Warning R: Turning off empty Virtual Host Report'.  Can
anyone point me in the right direction or provide a sample config to send me
on my way?  I'd like to avoid changing the log format if possible since
quite a few of our clients parse their log files with their own software and
I'd like stay away from notifying them that they must reconfigure their
reporting software due to a log format change.

Many thanks in advanced for any and all help.

Brian Curtis


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to