Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top