Sunday, March 20, 2016

Find the most popular end points in your Rails apps


grep "Parameters:" log/production.log | grep -o '".*"' | sed --r 's/[[:digit:]]*/:id/' | sort | uniq -c

to exclude certain things, pipe to grep -v 'string to exclude'

No comments:

Post a Comment