Welcome Guest | Login

web log analyzer to just get last n hours of referers?

I'd like to see where the people on my site "now" are coming from. From what I can tell the current log analyzers are not so good for this because they seem to be meant for bigger time frames such as days/weeks/months.

Can someone tell me what the best and most efficient way to answer the question "offsite referrers in last 2 hours" is on hosting rails servers? I'd like this to be something that I can run on the command line when I notice a traffic spike. And I'd like it to be smart and just parse through the last bit of the log since I just care about the last two hours.

Any suggestions?

I had been using http://www.hping.org/visitors/ on my old server, but maybe there's a better way that I don't know about.

Thanks,
Jesse

2007-07-13 01:47 PM

Hello Jesse,

The stats gets updated only once in a day. So you will not be getting any stats report for the last two hours and it is not possible to run the script once in two hours because script is highly CPU expensive. It can only be executed during the off peak hours

2007-07-13 02:25 PM

HostingRails Support
As an alternative you might also want to check google analytics it's a free javascript-based statistics package--visitor information is updated throughout the day. Also, its filtering system is very advanced, allowing you to apply a wide variety of 'restrictions' to the data you see http://www.google.com/analytics/

2007-07-16 12:15 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!