Hi Naresh,
As per our IRC discussion yesterday am writing this email to let you know how to proceed with your requirement in python.
In order to parse the following stdout.log file, you must use the 're' module in python:
http://validation.linaro.org/lava-server/dashboard/attachment/266112/view
Once the data is parsed you can make use of 'csv' module in python in order to create a file as given in the following link:
https://pastebin.linaro.org/2080/
Hope this will help you to start writing the script in python. If you require more inputs feel free to follow up with your queries in this thread.
Thank You.