Skip to content

Instantly share code, notes, and snippets.

@miller45
Created June 3, 2020 10:55
Show Gist options
  • Save miller45/6c82ffc1b9ec942094342834a53f00ce to your computer and use it in GitHub Desktop.
Save miller45/6c82ffc1b9ec942094342834a53f00ce 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