Towards a cloud-based framework for online and integrated event detection