03/03/2014 12:31:21 BLOCK 10.1.34.1 11:22:33:44:55:66 03/03/2014 12:31:22 ALLOW 10.1.34.2 AA:BB:CC:DD:EE:FF 03/03/2014 12:31:25 BLOCK 10.1.34.1 55:66:77:88:99:AA <
Here is a non-code solution. You can string together the steps with pipes ( "|" ).
awk '{print $3}' file | sort | uniq -c
awk '{print $3}'
print the 3rd column , the default record separator in awk is white space.
sort
sort the results
uniq -c
count the number repeated occurrences