views:

210

answers:

2

Traditional logfile analytics tools (awstats, statcounter) or general web analytics (google analytics, yahoo web analytics) are not suitable for analyzing traffic on servlets. Is there a good alternative to log messages using a logging framework (log4j for example) and to write a custom analytics software for these?

+1  A: 

I use dTrace, but I run on Solaris. If your on Linux they also have a similar tool SystemTap. They are great for analytics and especially if you don't want to change a single line of code of your application.

Note: Both of these allow you to measure traffic with simple scripts

Robert Gould
+1  A: 

Perhaps you could write a servlet filter that reports analytics etc. via the platform independent JMX monitoring infrastructure?

johnstok
This sounds like a good idea.
Ced