Tom Collins has a pair of scripts:
Step 1 : Create the SQL Server Extended Event and output to and event file
Step2 : Excecute this query to read the output of the xel files generated by the Extended Events Session .
There’s not a lot of commentary around these, but the session includes blocked processes and deadlocks, so that’s nice if you have intermittent blocking chain issues.