|
Posted by Mathieu CHATEAU on October 5, 2007, 2:14 am
Please log in for more thread options You may use powershell:
Get-EventLog -logname system | Where-Object {$_.EventID -eq 10} |
Export-Csv -path output.csv
--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com French blog: http://www.lotp.fr
>> Print are logged in the application event log..
>> I used a perl script to feed a database
>
> Weird, you are right for Windows 2003 the System log does have those
> messages. I had used a Windows XP system for test and it was giving a
> different behavior.
>
> Is there a utility that will dump a logfile using some input criteria
> (like eventid=10) to an ascii text file, or CSV? The Save As function
> in Eventviewer saves to proprietary format. The export feature only
> exports the metadata but not the body of each event message.
>
> --
> Will
>
>
|