Remove/get specific string from query

test1.com dstnat: in:ether1 out:(unknown 0), src-mac 5c:5e:ab:7b:21:a3, proto TCP (SYN), 10.20.23.32:41630->12.3.3.45, len 52
 test2.com dstnat: in:ether1 out:(unknown 0), src-mac 5c:5e:ab:7b:21:a3, proto TCP (SYN), 10.20.123.2:41630->12.3.3.45, len 52
 test1.com dstnat: in:ether1 out:(unknown 0), src-mac 5c:5e:ab:7b:21:a3, proto TCP (SYN), 30.20.223.32:41630->12.3.3.45, len 52
 test1.com dstnat: in:ether1 out:(unknown 0), src-mac 5c:5e:ab:7b:21:a3, proto TCP (SYN), 12.20.23.32:41630->12.3.3.45, len 52

i want to get only first IP for example 10.20.23.32 in first line,second line 10.20.123.2 and etc… and also count and get top 10 repeated IP.
what is best way?