Changing A Performance Counter Log Format

Posted by & filed under , , .

We've picked something up on radar!

Ever come across performance counter log that isn’t in your desired format?  This is a situation I’ve been in a number of times.  And wouldn’t you know, I usually space off the command line tool that I can use to do this.

The gem of a tool that you can use to change performance log formats is called relog.  There are a number parameters that can be passed into the tool which are detailed on the TechNet page for relog.

In a simple example, supposed you have a performance counter log named SQLStats.blg that was in a binary format.  And suppose ever further that you needed this log to be in a CSV format.

Executing relog with the following parameters would complete this task above.

relog "SQLStats.blg" -f CSV -o "SQLStats.csv"