Created
May 16, 2017 01:49
-
-
Save mitsuhirookuno/36d4af0f3129ca90fbc893577fed8119 to your computer and use it in GitHub Desktop.
one liner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tail -f hoge.log | ruby -ne '$_.match(/(tracking_id)":"([^"]+)/) {|m| p "#{m[1]} => #{m[2]}" }' |
Author
mitsuhirookuno
commented
May 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment