DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Dave has posted 5 posts at DZone. View Full User Profile

Use AWK To Extract Data From A Flash Media Server Access Log File

  • submit to reddit
awk '{print $3" "$4"\t"$1"\t"$15"\t"$29}' *.log | grep u=1400 | sort
This code will display date, time, x-event, x-duration and x-sname-query separated by tabstops, grepped by a value and finally sorted by date and time.