Done:
Though I don't think excel likes our timestamp format.
(Graph isn't included in the excel file)
local File = assert(io.open("LOG_1443990276.txt")) local ExcelFile = assert(io.open("out.xls", "w")) ExcelFile:write("TimeStamp\tSpeed\n") for line in File:lines() do local Speed = line:match("Chunk generator performance: (%d+%.%d+)") if (Speed) then local Time = line:match("%s%s%[.-%]"):sub(4, -2) ExcelFile:write(Time, "\t", Speed,"\n") end end File:close() ExcelFile:close() print("done")
Though I don't think excel likes our timestamp format.
(Graph isn't included in the excel file)