How can I decode and parse an ETW log file in Javascript?
I found a few related NPM packages (windows-event-reader, win-getevent) but they are Node wrappers for the Get-WinEvent
Powershell command. As my tool runs exclusively in the browser, those aren't an option for me.
Scenario
- We have kernel level components that log via ETW and generate .ETL files.
- We have a log search tool written in Angular 7 / Javascript.
- The log search tool supports "offline" mode and is able to parse user mode logs that are drag-and-dropped into the browser window.
- The log search tool needs to also support ETL files in 'offline' mode.
- As ETL files are encoded and not plain text, I need help figuring out how to decode these files using only Javascript.