Free Windows Grep for W3C Log Files


Scott Glew

Scott Glew

Have you ever needed to search through GBs of W3C log files for a specific string such as an application, user or site? If you're comfortable with the command line, you may have turned to grep or findstr, or perhaps you purchased a commercial application to search your logs such as PowerGrep.

The downside of grep/findstr/grepToolXYZ is they generate a new file that does not necessarily adhere to the format or structure of the original log file. The output is often stripped of all W3C log headers, and many tools even replace delimiting characters such as tabs with spaces. The end result is that you have a file containing your search result, but the file is incompatible with your log analysis application (such as WebSpy Vantage).

Fastvue Log Grep Utility

To solve this problem, we developed a simple Grep tool for Windows. It takes a folder of W3C text logs (or any text files), and produces new files containing only the log lines matching your search criteria. The new files are unaltered in format and structure and retain the original log headers. The Fastvue Log Grep Utility is perfect for cutting down a folder of Forefront TMG or ISA Server W3C text logs to just the information in your search string. You can then import these reduced files into WebSpy Vantage, or any other log analysis app.

The Fastvue Log Grep Utility supports plain text search, regular expressions, inverted match (find everything except), and can merge results from multiple files into a single output file, or create multiple output files.

Fastvue Grep Tool for W3C Logs

Fastvue Grep Tool for W3C Logs. Retains log headers and structure of the log file.

Although it was designed for keeping the structure of W3C text logs, it can also be used to search any type of text file. Just ignore the option to 'Always include header lines'.

Download Fastvue Log Grep Utility

We're making the Fastvue Log Grep Utility tool available absolutely free, so please go ahead and downloaded it here:

Download the Fastvue Grep Tool


Hopefully it makes your life a little bit easier. Either way, we'd love to hear your comments below.

Take Fastvue Reporter for a test drive

Download our FREE 30-day trial, or schedule a demo and we'll show you how it works.

  • Share this story

How To Extend Forefront TMG's Web Protection Services (WPS) After November 30 2012

This article explains how to renew your Web Protection Services (WPS) Subscription for Forefront TMG as it can no longer be purchased from Microsoft.
TMG Reporter

Make The World A Better Place with Fastvue and Microsoft Reputation Services (MRS)

TMG Reporter can find sites that have not been categorized by Forefront TMG. You can then submit these sites to Microsoft Reputation Services (MRS), so everyone can benefit from your discovery!
TMG Reporter