Re: Merging Windows 2003 event logs

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Chris Johnson wrote:
Hi all,

Just a quick question: is there any tool or method to merge a number of Windows application and system event log files into two log files (one complete for application, and another complete for system)?


I've found a rather nice solution: The Microsoft utility LogParser [http://www.logparser.com/]. With it, I've been able to easily load and merge each event log into a SQL Server, something like this:

logparser "SELECT * INTO SysLog FROM WS1\System.evt" -o:SQL
-server:IS5660DEV -database:cejplayground -driver:"SQL Server"
-createTable

logparser "SELECT * INTO SysLog FROM WS2\System.evt" -o:SQL
-server:IS5660DEV -database:cejplayground -driver:"SQL Server"

logparser "SELECT * INTO SysLog FROM WS3\System.evt" -o:SQL
-server:IS5660DEV -database:cejplayground -driver:"SQL Server"

Fantastic :-)

Chris...
.



Relevant Pages

  • Event Viewer System Log Error 13
    ... Windows Vista Home Premium, I get the following messages: ... the Event Log service is running'. ... as I am able to view the other log files. ... Please do not localize these very ...
    (microsoft.public.windows.vista.performance_maintenance)
  • Re: KB912812 and KB917425 Setup Canceled
    ... Check the System Event log to see if there are any errors under Source for Windows Update Agent. ...
    (microsoft.public.windowsupdate)
  • log info query
    ... Windows 2 K server. ... a System Event Log b application event Log c Dns server Event Log d ... Direcory server Event Log ...
    (microsoft.public.win2000.applications)
  • "Windows Explorer has encountered a problem and needs to close"
    ... At start-up, Windows appears to load normally; ... This Event log is also pasted below. ... Microsoft Product Support Services to report this error. ... 72772476 KB available on disk. ...
    (microsoft.public.windowsxp.basics)
  • Re: Install / Reinstall / Recovery Console causes shut down
    ... View and Manage Event Logs in Event Viewer in Windows XP ... the problem only occurs when the windows file structure is being ... nothing in the event log.. ... start the install process.. ...
    (microsoft.public.windowsxp.perform_maintain)