hi there ) thanks for sharing the details and the screenshot, really helps to see what's going on ))
alright, let's tackle this step by step. u mentioned the azurediagnostics table is empty even though u set up diagnostic settings. first thing, check if the logs are actually being sent to the right place. in your screenshot, u selected 'send to log analytics workspace', but the workspace dropdown is empty. that's a red flag ) u need to pick a specific workspace where the logs should land. no workspace selected means nowhere for the logs to go... kinda like sending a letter without an address )
here's the doc from microsoft on how to properly configure it https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/diagnostic-settings
also, since u're using a basic sku virtual network gateway, keep in mind it has some limitations. basic skus don't support all diagnostic features. u might wanna consider upgrading to vpngw1 or higher if u need full logging capabilities https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-about-vpngateways
for the s2s tunnel events, make sure u enabled the right log categories. from your screenshot, u have 'tunnel diagnostic logs' checked, which is good. but sometimes there's a delay before logs start appearing. give it some time, like 15-30 mins, then check again.
oh and one more thing ) the query itself might need tweaking. try this basic one to see if anything shows up
azurediagnostics | where resourceprovider == "microsoft.network" and resourcetype == "virtualnetworkgateways"
if it's still empty after all this, u might need to open a support ticket. azure can be quirky sometimes )
hope this helps Mateusz! let me know if u're still stuck after trying these steps...
Alex
and "yes" if you would follow me at Q&A - personaly thx.
P.S. If my answer help to you, please Accept my answer