I want to get the \"GET\" queries from my server logs.
For example, this is the server log
1.0.0.127.in-addr.arpa - - [10/Jun/2012
In this case since the log file has a known structure, one option is to use cut to pull out the 7th column (fields are denoted by tabs by default).
grep GET log.txt | cut -f 7