Distributed log parsing and collection