I am looking into GoReplay as to reproduce part of the production traffic that occurred yesterday.
The traffic I want to reproduce has been recorded with nginx, and I can save it as a .log or .csv file.
From what I can tell from the replay http traffic docs it is possible to reproduce traffic using a command like:
sudo gor --input-file request.gor --output-http="http://localhost:3001"
but this requires a .gor
file.
My question is, is the reproduction of traffic (using GoReplay) restricted to .gor
files, or could I use nginx .log
files to do so?
If this is not possible, and given that I don't have a .gor
file describing the yesterday requests, would you recommend creating a file conversion script, to convert the log files into .gor
files, or can you recommend a better approach?