I am trying to convert .etl file into .txt file. Rightnow, I am using the following command to get .txt files from .etl file:
Get-WinEvent -Path $Path -Oldest -ErrorAction SilentlyContinue -ErrorVariable errors | ForEach-Object { "{0},{1},{2},{3},{4}" -f $_.TimeCreated.ToString("yyyy-MM-ddTHH:mm:ss.ffffff"), $_.Id,$_.Level,$_.ProviderName,$_.Message } `
| Add-Content -Path $LogFilePath
However, the .etl file is quite huge and takes about a hour to complete.
I was wondering if there's any other way to convert those etl file in txt file without much overhead. I tried looking into tracerpt tool,however it only converts .etl file into .csv/.xml files.