A framework for event capture, analysis and report