Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: ✔️ Front Door Standard ✔️ Front Door Premium
Azure Front Door captures several types of logs. Logs can help you monitor your application, track requests, and debug your Front Door configuration. For more information about Azure Front Door's logs, see Monitor metrics and logs in Azure Front Door.
Access logs, health probe logs, and Web Application Firewall (WAF) logs aren't enabled by default. In this article, you learn how to enable diagnostic logs for your Azure Front Door profile.
Configure logs
Sign in to the Azure portal.
In the search box at the top of the portal, search for Front Door and then select the relevant Azure Front Door profile.
Under Monitoring, select Diagnostic settings and then select + Add diagnostic setting.
In Diagnostic setting, enter a name for Diagnostic setting name.
Under Logs, select audit, allLogs, or the individual log you want. Available logs are: FrontDoor Access Log, FrontDoor Health Probe Log, and FrontDoor WebApplicationFirewall Log.
Select the Destination details. The destination options are:
- Send to Log Analytics
- Azure Log Analytics in Azure Monitor is best used for general real-time monitoring and analysis of Azure Front Door performance.
- Select the Subscription and Log Analytics workspace.
- Archive to a storage account
- Storage accounts are best used for scenarios when logs are stored for a longer duration and are reviewed when needed.
- Select the Subscription and Storage Account.
- Stream to an event hub
- Event hubs are a great option for integrating with other security information and event management (SIEM) tools or external data stores, such as Splunk, Datadog, or Sumo.
- Select the Subscription, Event hub namespace, Event hub name (optional), and Event hub policy name.
- Send to partner solution
- Partner solutions are fully integrated solutions with Azure. For more information, see Destinations in Azure Monitor diagnostic settings and Azure Monitor partner solutions.
- Select the Subscription and Destination.
Tip
Microsoft recommends using Log Analytics for real-time monitoring and analysis of Azure Front Door performance.
- Send to Log Analytics
Select Save to begin logging.
View your activity logs
To view activity logs:
Select your Azure Front Door profile.
Select Activity log.
Choose a filtering scope.