Skill 2.2.2

Configure database auditing for Azure SQL Database and Azure SQL Managed Instance

Key Concepts

Azure SQL Database auditing can be set at server or database level, and it writes to a storage account, a Log Analytics workspace or Event Hubs. Logs in storage are append blobs in .xel format.

Server auditing applies to all databases on the server, including new ones. Azure SQL Managed Instance uses SQL Server auditing configured with T-SQL, writing to a storage URL or to Azure Monitor. Statement text is captured up to 4,000 characters.