You have an Azure Virtual Network Gateway named VNetGW1. You need to ensure that the platform metrics and resource logs for VNetGW1 are collected and routed to a Log Analytics workspace. What should you configure on VNetGW1?
- A diagnostic settingCevap
- BAn Activity log export rule
- CAn Azure Monitor alert rule
- DA Storage Account with a Shared Access Signature (SAS)
Cevap
A diagnostic setting
To collect and route resource-specific telemetry (such as platform metrics and resource logs) to a destination like a Log Analytics workspace, you must create a diagnostic setting on that specific resource.
Adım Adım Çözüm
Anahtar Kavram
Azure Monitor Diagnostic Settings enable the routing of platform metrics and resource logs from individual Azure resources to destinations like Log Analytics workspaces, Azure Storage, or Event Hubs.