Home > Windows Server Tips > Windows Systems Management and Administration > LogParser: Microsoft's well-kept secret for reading logs
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS MANAGEMENT AND ADMINISTRATION

LogParser: Microsoft's well-kept secret for reading logs


Rick Cook, Contributor
08.21.2006
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Event logs are important tools for managing just about every facet of Windows operation, including storage. The appropriate logs allow you to track nearly all aspects of disk performance, examine the details of disk operations over time and spot potential trouble spots.

But to do all that you've got to be able to extract the useful information from the flood of data that the logs record. Even after you carefully pare down the amount of information you choose to record in the log, 10MB or more of recorded events can be produced every day. The biggest problem with logs is finding the needles of relevant information in the haystack of data.

Many tools, such as Microsoft Operations Manager (MOM), can help you make sense of your log files. But MOM is a commercial product that must be purchased from Microsoft on a per-system basis.

A cheaper alternative is LogParser, a free command line utility from Microsoft that uses SQLServer to dig relevant information out of log files and present it as anything from a report to a chart. Although LogParser is a general tool that can handle any text-based file, it can make sense of logs of all sorts.

LogParser essentially converts text log files into a SQLServer database, then uses SQLServer's tools to apply SQL statements to that database to present the information in a variety of formats. While some administrators may consider using SQL statements from the command line an exercise in medium-level geekspeak, LogParser presents the results in clear, easy-to-understand formats that even non-administrators can easily understand.

LogParser is one of the better-kept secrets in the Windows world. Although it is a very powerful and useful tool in a variety of Windows administration, management and troubleshooting contexts, including storage, for some reason it is relatively little used.

You can download LogParser for free from Microsoft.

About the author: Rick Cook specializes in writing about issues related to storage and storage management.

More information on this topic:


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Windows Systems and Network Management Tools and Techniques
Windows registry hack improves offline file access for mobile users
Reducing the size of network backups in Windows
Monitor network bandwidth with CyberGauge
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Archiving information with New-Item in Windows PowerShell
The new Microsoft System Center: What happened to SMS and MOM?
New Russinovich tool scans for open file references from command line
Identify file extension types with TrID
Windows System File Checker helps stop system failures

Windows Systems Management and Administration
Tips for Windows domain controller optimization
Quick hits: Troubleshooting service account failure, batch job execution
Case Study: Troubleshooting Windows service dependency failures
Troubleshooting common Windows service failures
How to format NTFS: More tricks to improve file system performance
Key enhancements to SCCM give admins more control over assets, licensing
Windows scripting secrets for disk quota management
Optimizing NTFS file system performance
The new Microsoft System Center: What happened to SMS and MOM?
New Russinovich tool scans for open file references from command line

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts