Skip to content

Instantly share code, notes, and snippets.

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 AtsushiA/7ec99098124bd075475dbcb5b1771bc5 to your computer and use it in GitHub Desktop.
Save AtsushiA/7ec99098124bd075475dbcb5b1771bc5 to your computer and use it in GitHub Desktop.
CloudFront Log IP extraction(Googlebot)
cat {LogFileName} | grep Googlebot | cut -f5 | awk '!colname[$1]++{print $1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment