Skip to content

Instantly share code, notes, and snippets.

@magnetikonline
Created September 29, 2014 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save magnetikonline/59fc4099b9e9e5841ab9 to your computer and use it in GitHub Desktop.
Save magnetikonline/59fc4099b9e9e5841ab9 to your computer and use it in GitHub Desktop.
Extract unique HTTP request lines from access.log.

Extract unique HTTP request lines from access.log

$ cat access.log \
	| grep "] \"GET /wp-content/themes/" \
	| awk '{print $7}' \
	| sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment