I am having trouble getting my IP addresses from my site's server log out from amidst the mess of other data in a server log. Before I crack open Excel I know there's a way to do it because I found the opposite of what I want, removing IP 's from AWS:
cat web.log | awk '{$1=$2=$3=""}1' > web-no-ip.log
A step by step or cheat sheet for this kind of thing would be amazing.