Not that I want to be the "well actually" guy...but MS has a much underrated tool called Log Parser that's been around for years that lets you do this kinda thing and more.
If you're a Windows admin and haven't bumped into this utility then it's well worth a look.
edit: forgot to mention that it can also scripted from VBScript and Powershell for added fun.
https://www.microsoft.com/en-gb/download/details.aspx?id=246...