Initial version of log parser script