To enable diagnostics in Azure Firewall, we must follow these steps:
- In the Azure Firewall blade, locate Diagnostics settings under Monitoring.
- Select the Turn on diagnostics option, as shown in the following screenshot:
- In the new blade, fill in the Name field and specify where the logs will be stored. Choose the Storage account where the logs will be stored and specify the retention period and which logs will be stored, as shown in the following screenshot: