Regex for parsing the Goreplay log file #1164
RulerOf
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a regular expression to parse the log file. While it would undoubtedly be better to just get some JSON or something, goreplay doesn't want to do that if your name isn't Kafka. No guarantees that it's robust, but maybe it'll save somebody some time.
This was intended for use with a log parser. I had trouble getting it to work with td-agent and decided I don't care enough to figure out why. It's probably the emojis.
Beta Was this translation helpful? Give feedback.
All reactions