How to parse the output traces