Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grep or awk

Status
Not open for further replies.

5kKate

Technical User
Mar 18, 2015
2
US
Anyone use grep or awk for extracting apache access log data? How has your experience been with it?

Thanks in advance!

Kate
 
For me; grep certainly

experience? It works as expected.

Cannot actually think of a instance where I have used awk, as generally it is only 'matching' rows that are of interest to me, but if I wanted a list of say, the IPs or user agent strings accessing the site, AWK would be my 'weapon of choice'.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Thanks for the input, Chris. Much appreciated!

Kate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top