You can set up the Azure VM diagnostic by following this link Microsoft Azure Virtual Machine Monitoring with Azure Diagnostics Extension.
Since all of the diagnostic data collected was saved in a user storage account, you can access that data by using "Azure table storage" connector.