SQLServerPSModule
SQLServerPSModule copied to clipboard
Read-SqlXEvent does not output [database_name] from XEL file
environment SqlServer PowerShell Module version: 22.4.5.1 OS: Microsoft Windows Server 2019 Standard OS Version: 10.0.17763 Build 17763 PS Version: 5.1.17763.7671
problem Read-SqlXEvent does not output [database_name] field from XEL files. The database_name field is confirmed existing and containing data. Reading the XEL file via MSSQL [sys.fn_xe_file_target_read_file] yields [database_name] column output.
replicate
- Read-SqlXEvent -FileName [path to file]
- Observe [database_name] output missing.