[analog-help] Active users/sessions

Aengus analog at eircom.net
Wed Oct 4 06:27:55 PDT 2006


On Wednesday, October 04, 2006 5:28 AM [EDT],
Tony FOULON - SAVACO <tony.foulon at savaco.com> wrote:

> I just installed analog to see what kind of reports can be made. Is
> there a way to report the currently active sessions/active users?

How do you define a "currently active sessions/active user"? Remember that 
webservers are "stateless", and don't actually have "active sessions". If 
someone clicks on a link on your website, looks at it for 10 seconds and 
then turns of their PC are they still an "active user". Your webserver has 
no way of knowing that the PC has been turned off.

If you define an "active user" as a user that has made a request in the last 
X minutes, then you can use the FROM command to get a list of users who have 
made a request in the last X minutes. (No guarantee that those users are 
still interested in your website, though).

FROM -00-00-00:-00-X

If you define an "active user" as anyone who hasn't clicked on some sort of 
"log off page", I can't think of a way to get that information out of your 
logfile.

Aengus 



More information about the analog-help mailing list