Statistics for Online Monitoring of Distributed Systems Using Causal Event Patterns