Add parse data function to allow parse log lines from data stream