Skip to content

Instantly share code, notes, and snippets.

@miller45
Created June 3, 2020 10:55
Show Gist options
  • Save miller45/fb4b72f0fc9bf94278f12cc8c6bf27cf to your computer and use it in GitHub Desktop.
Save miller45/fb4b72f0fc9bf94278f12cc8c6bf27cf to your computer and use it in GitHub Desktop.
awk '/findme/ { if($11!="\"-\"" && $11 !~ "(Bot|bot)") print $11 } ' FPAT='([^ ]+)|("[^"]+")' /var/log/apache2/access.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment