Skip to content

Instantly share code, notes, and snippets.

@cgrusden
Last active August 29, 2015 14:09
Show Gist options
  • Save cgrusden/b653f2c53923d8bfd345 to your computer and use it in GitHub Desktop.
Save cgrusden/b653f2c53923d8bfd345 to your computer and use it in GitHub Desktop.
Parse log file for all image assets requested from the server
# Replace <file> with logfile from your server
grep -Eo 'GET\spath\S\"\/assets\/((\S+)[A-Za-z0-9]\-?\.(jpg|svg|gif|jpeg|png))\"' <file> | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment