Saturday, October 17, 2009

Internet, network, traffic analysis statistics for web apps in html, asp.net, flex, jsf etc.

Often we would like to analyze the flow of traffic to an application we build, so I thought I'd put a small list of tools to use. Most of these tools are fairly easy to setup and there are lots of info on the web, so I won't go into a detailed discussion on how to use them.

The tools are divided into 2 groups:

  1. Traffic analysis online services that require no installation by you. Does require you to embed some javascript code into your application to send signals to the monitoring service. Some services also have flex libraries (google analytics) that can be used directly from actionscript.
  2. Log parsing programs that require installation on your web server which will go through the logs created by IIS, apache, tomcat etc webservers to analyze traffic. Does not require any modification to the individual web apps. Will monitor all level of traffic (pages, resources, web apps, domains etc.) Will only monitor entire traffic to the configured servers.
Some example tools:
  1. Google Analytics : free, easy to setup. Requires js code to be embedded in each of your pages that you want to monitor.
    1. create google account
    2. register to use their service (free)
    3. create a new site profile
      1. can be created for both internet sites or intranet/secure sites as well
    4. add the generated js code to your site (after all page elements have loaded, just before the close of the tag)
    5. it takes up to 24 hours to register and show activation
  2. StatCounter : free easy to use. Requires js code to be embedded in each of your pages that you want to monitor. 
  3. SmarterStats from SmarterTools:
    1. requires installation
    2. commercial product but free for one web app
    3. works by parsing web server logs
    4. no modification to the web app or individual pages required
    5. web based sophisticated GUI for generating reports, charts, maps and advanced analysis
    6. my experience: it is really cool, easy to use, install and configure. but the only pro is that the free version is limited to one web app.
  4. AWStats  - free advanced statistics tool
    1. requires installation
    2. free GNU GPL
    3. for advanced users 
    4. complicated installation (requires perl, command line)
    5. complicated usage, command line (no UI) 
      1. run perl scripts from command line to generate reports/charts/maps etc. in html
    6. log parser

Google search keywords: 
* more like awstatshttp://www.google.com/search?hl=en&q=related:awstats.sourceforge.net/




* more tools like statcounterhttp://www.google.com/search?hl=en&q=related:www.statcounter.com/

  • GoStats.com
  • http://www.sitemeter.com
  • www.freestatscounter.com
  • www.shinystat.com
  • extremetracking.com
  • easycounter.com
  • www.addfreestats.com


No comments:

Post a Comment