Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Count how many times each endpoint has been hit
grep 'Started' production.log \
| grep -o '".*"' \
| sed --regexp-extended 's/[0-9]+/:id/' \
| sort \
| uniq -c \
| sort --reverse \
| more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.