How to read extended events .xel file

前端 未结 2 1241
忘掉有多难
忘掉有多难 2021-02-09 09:09

I have a certain request to read/parse the .xel file which is extended events file , How can I do this effectively and efficiently . One of my colleague advised to use API to pa

2条回答
  •  难免孤独
    2021-02-09 09:31

    I had an XEL file from the Auditing system on Azure SQL Database, so I found this post. But it would not run with fn_xe_file_target_read_file, so I had to use fn_get_audit_file like this

    select * from sys.fn_get_audit_file('c:\temp\08_11_22_921_16*.xel', null, null)
    

提交回复
热议问题