1

I was wondering is there any java library to read evt/evtx files.

Already referred links

How to read .evtx extension file through java program

Reading .evt/.evtx files directly

I found we can use

Get-WinEvent -Path c:\path\to\eventlog.evtx | Export-Csv eventlog.csv

But I need run this in Windows 2003, where PowerShell is not available.

Community
  • 1
  • 1
Stenal P Jolly
  • 737
  • 9
  • 20

1 Answers1

3

PowerShell v2 is available for Windows Server 2003. Also, there's wevtutil for managing eventlogs from the regular commandline:

wevtutil query-events Application /c:3 /rd:true /f:text

and LogParser for extracting information from various data sources, including eventlogs and eventlog files:

logparser -i:EVT -o:CSV "SELECT TOP 3 * FROM exported.evtx"
Ansgar Wiechers
  • 193,178
  • 25
  • 254
  • 328