Distributed system for log parsing and triggering actions