Reading .evt/.evtx files directly [closed]
Hello does anybody know how to read .evt /.evtx which are Windows Event log files to read not using provided api's , I want to read them using FILE I/O apis in C/C++ . Or how to convert those files into .txt , I know splunk does this but not sure how they are doing this. I might be late but well, it could help a future reader so : To read an .evt file with standard lib (let's say in C++), you should be aware of ELF_LOGFILE_HEADER structure and EVENTLOGRECORD structure . In addition, here is the event log file format. Now everything is simpler, what you have to do is : I. Declare structures Log