Parse SQL Server Trace Files and Build Simple Alert System for Audit
- SQL Server 2008 R2 or SQL Server 2012
- Powershell
- Permissions
- Build Database
$AuditDB
. - Build Table
$TraceFileData
in$AuditDB
by usingTraceFileData.sql
. - Set up arguments in
TraceFileParser.ps1
. - Run and Test.
- Use
SaveTraceFile.ps1
to save data into files. - This version will save data into database which is specified, and this is different from v1.
Alert mail content need to be html for clearifing output.Use this for HTML Output, Please read the manual from the link.