analyse log and alarm