I'm using a "virtual network gateway" for Point-to-Site VPN connections using client certificate authentication.
I enabled all the diagnostic logs for the virtual network gateway like the following JSON, but on the Analytics logs it seams only the IKEDiagnosticLog are recorded and the aren't any logs on P2SDiagnosticLog category.
How can I record the P2SDiagnosticLog events ?
{
"id": "/subscriptions/xxxxxxxx-xxx-xxx-xxx-xxxxxxxxxxx/resourceGroups/rg-shared-westeu/providers/Microsoft.Network/virtualNetworkGateways/vgw-shared-westeu/providers/microsoft.insights/diagnosticSettings/VirtualNetworkGatewayDiagnostic",
"name": "VirtualNetworkGatewayDiagnostic",
"properties": {
"logs": [
{
"category": "GatewayDiagnosticLog",
"categoryGroup": null,
"enabled": true,
"retentionPolicy": {
"days": 0,
"enabled": false
}
},
{
"category": "TunnelDiagnosticLog",
"categoryGroup": null,
"enabled": true,
"retentionPolicy": {
"days": 0,
"enabled": false
}
},
{
"category": "RouteDiagnosticLog",
"categoryGroup": null,
"enabled": true,
"retentionPolicy": {
"days": 0,
"enabled": false
}
},
{
"category": "IKEDiagnosticLog",
"categoryGroup": null,
"enabled": true,
"retentionPolicy": {
"days": 0,
"enabled": false
}
},
{
"category": "P2SDiagnosticLog",
"categoryGroup": null,
"enabled": true,
"retentionPolicy": {
"days": 0,
"enabled": false
}
}
],
"metrics": [
{
"timeGrain": null,
"enabled": true,
"retentionPolicy": {
"days": 0,
"enabled": false
},
"category": "AllMetrics"
}
],
"workspaceId": "/subscriptions/xxxxxxxx-xxx-xxx-xxx-xxxxxxxxxxx/resourceGroups/rg-shared-westeu/providers/Microsoft.OperationalInsights/workspaces/log-shared-westeu",
"logAnalyticsDestinationType": null
}
}