LogSpy: System Log Anomaly Detection for Distributed Systems