Is it possible to enable diagnostic settings for express route gateway resource?

Ajit Ramachandra Sane 0 Reputation points
2024-09-09T10:11:34.41+00:00

Is it possible to enable diagnostic settings for express route gateway resource? if yes, how can we create a deploy if not exist policy to achieve it?

Azure ExpressRoute
Azure ExpressRoute
An Azure service that provides private connections between Azure datacenters and infrastructure, either on premises or in a colocation environment.
381 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
918 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sai Prasanna Sinde 1,080 Reputation points Microsoft Vendor
    2024-09-11T12:50:57.6966667+00:00

    Hi @Ajit Ramachandra Sane,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    Thanks for getting back.

    1. Create and assign a DINE policy:
    1. Enable Diagnostic settings for Express Route:
    1. Enable Diagnostic settings for VPN Gateway:
    • In the same DINE policy, ensure you include the necessary categories for the VPN Gateway logs, such as Gateway Diagnostic Log and TunnelDiagnosticLog
    • As you configure the settings, make sure to detail which specific logs you want to be collected and directed to your defined storage settings
    • If you want to enable diagnostic setting for VPN Gateway through Azure Monitor. You can get the below resource logs once you enable VPN diagnostics: User's image For your reference: https://learn.microsoft.com/en-us/azure/vpn-gateway/monitor-vpn-gateway-reference#resource-logs-details
    • In your Azure portal, search for Monitor. Go to Diagnostics settings blade within Monitor and search for your VPN gateway in which you would like to enable diagnostics. To turn on diagnostics, double-click the gateway and then select Turn on diagnostics. Fill in the details and ensure that Send to Log Analytics and TunnelDiagnosticLog are selected. Choose the Log Analytics Workspace where you want to send the logs to. It may take a few hours for the data to show up initially. 53025-vpn-diag.jpg
    1. After creating diagnostic settings:

    Kindly let us know if the above helps or you need further assistance on this issue.

    If the answer is helpful, please click "Accept Answer" and "Upvote it" so that other community members can find the right answers.

    Thanks,

    Sai Prasanna.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.