Design a log filtering and analytics service | Amazon Interview Question