The logs needs to be normalised as they are in the example *.log files that are in this project.
For k6 logs, perform these steps in VSCode:
- Find
(.*(<- |-> ).*)
; Select all the lines; cut them from the file; Delete all remaining lines; paste the lines that were cut. - Find
(time=.*)(-> .*)
and replace with$2
- Find
(time=.*)(<- .*)
and replace with$2
- Find
" category=".*
and replace with an empty value (i.e. remove). - Find
\\"
and replace with"
. - Find
\\\\"
and replace with an empty value (i.e. remove).
go run main.go <filenameA> <filenameB>
e.g. go run main.go newtab2-cdp-k6.log newtab2-cdp-pw.log