Chris Wopat wrote:

>OK, I searched the FAQ's and mail archives but found no answer to this: 
>
>Has anyone managed to get analog to give any type of report that will 
>show username (htaccess) along with their IP? 

Analog doesn't do "cross-reference" reports. (See FAQ B18). But if 
you have the username, why would you want the IP address? If you're 
giving the same username to multiple users, then you might as well 
just stick with IP address.

If you need a report like this, you'll have to pre-process your log 
to concatenate the IP address and username into a single field, or, 
if your server allows you to specify a custom logformat, you could 
put an marker character before the IP address, after the username, 
so that you could treat them as one or two fields, depending on the 
reports you want to run

(1.2.3.4 - jdoe) [00/09/08:10:10:10] "GET /whatever HTTP 1.1" blah

Off the top of my head, if you log entries look like this:
(1.2.3.4 - jdoe) [00/09/08:10:10:10] "GET /whatever HTTP 1.1" blah

I think you could use either these two log formats 
LOGFORMAT ((%S - %u) [%y/%m/%d:%h:%n%j] "%j %r %j" %j
LOGFORMAT ((%u) [%y/%m/%d:%h:%n%j] "%j %r %j" %j
depending on whether you wanted a host report, or a combined host and 
user report

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