Gary Davis' Blog

DotNET/PayPal Development and other Techie Stuff
posts - 45, comments - 183, trackbacks - 0

Tip: Web log extraction using DOS FIND

Here’s a useful trick for working with the huge web log files.  

Use the DOS "find" command to extract the records of interest, usually an IP works but a timestamp could also. Then you wind up with a smaller subset file that is easier to work with. Find is like the Unix grep.

  D:\usage\W3SVC242754246>find "203.217.13.46" ex051201.log > x.txt

  ---------- EX051201.LOG

2005-12-01 06:43:39 W3SVC242754246 ALLXLWS1 12.8.2.161 GET /WXLogin.htm - 80 - 203.217.13.46 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.0.3705;+.NET+CLR+1.1.4322) si=webxmi - webxmi.xent.com 200 0 0 1852 427 328

2005-12-01 06:43:47 W3SVC242754246 ALLXLWS1 12.8.2.161 POST /WebXM/Login.aspx url=/Default.aspx 80 - 203.217.13.46 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.0;+.NET+CLR+1.0.3705;+.NET+CLR+1.1.4322) si=webami;+sdc_standard_pool=2701264908.20480.0000 http://webxmi.xent.com/WXLogin.htm webxmi.xent.com 302 0 0 814 722 390

 

Print | posted on Thursday, July 27, 2006 12:00 AM | Filed Under [ Personal ]

Feedback

Gravatar

# re: Tip: Web log extraction using DOS FIND

Western Union is a wire transfer service that allows you to quickly transfer money all over the globe. While it’s not without risks, it is a reliable way to get money to friends and family almost anywhere in the world. Follow this guide to make sure your money gets to where it needs to go and Tips For Western Union.
6/11/2018 4:59 AM | western union tracking

Post Comment

Title  
Name  
Email
Url
Comment   
Please add 4 and 1 and type the answer here:

Powered by:
Powered By Subtext Powered By ASP.NET