Edit

Share via


Configure Azure Front Door logs

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

  1. Sign in to the Azure portal.

  2. In the search box at the top of the portal, search for Front Door and then select the relevant Azure Front Door profile.

  3. Under Monitoring, select Diagnostic settings and then select + Add diagnostic setting.

  4. In Diagnostic setting, enter a name for Diagnostic setting name.

  5. 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.

  6. 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

    Tip

    Microsoft recommends using Log Analytics for real-time monitoring and analysis of Azure Front Door performance.

    Screenshot that shows the Diagnostic settings page of Azure Front Door.

  7. Select Save to begin logging.

View your activity logs

To view activity logs:

  1. Select your Azure Front Door profile.

  2. Select Activity log.

  3. Choose a filtering scope.