Hi rr-4098,
Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!
I understand the issue is with your VPN Gateway diagnostic logs not appearing in the storage account as expected. I Suggest you few steps to troubleshoot and resolve this issue:
Check that the diagnostic settings for your VPN Gateway are correctly configured. Ensure that the connection logs are enabled and that the correct storage account is selected, make sure that the specific log categories you want (e.g., GatewayDiagnosticLog, TunnelDiagnosticLog) are enabled. Sometimes, only certain categories might be selected, which could explain why you're not seeing the expected logs
There might be a delay in the logs being generated and written to the storage account. Wait for a few minutes and check again. Ensure that the storage account has the necessary permissions to write logs. The diagnostic settings should have the appropriate access to the storage account, Utilize Azure Network Watcher to troubleshoot VPN gateways. This tool can help diagnose issues and provide detailed logs
For viewing diagnostic logs in a storage account.
Azure Storage Explorer: This tool allows you to browse and manage your storage account, including viewing logs. You can download it here.
Azure Monitor and Log Analytics: You can set up diagnostic settings to send logs to Azure Monitor and use Log Analytics to query and analyze the logs. This provides a more powerful and flexible way to work with your logs
Azure Portal: You can view logs directly in the Azure portal by navigating to your storage account and accessing the logs through the monitoring section
Programmatic Access: Use Azure SDKs or PowerShell to programmatically access and analyze the logs. This can be useful for automation and custom analysis.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.
If you have any other questions or are still running into more issues, let me know in the "comments" and I would be happy to help you