Hi @Pavel Orlov,
Thanks for the question and using MS Q&A platform.
If your App Service is hooked up to Application Insights and you see logs in the Log workspace, but nothing shows up when you query,
Make sure the time range for your queries is correct. Logs might not show up if the selected time range doesn't cover the log generation time.
Ensure the connection strings in your Application Insights configuration match those in the Azure portal. Mismatched strings can block log visibility. Run your app in debug mode in Visual Studio to generate telemetry.
Check the Visual Studio output window for logged events. Data might take a bit to appear. Refresh the Application Insights portal to see if logs show up after a short delay. In the Azure portal, check Service Health for any alerts that might be affecting log availability.
Reference:
https://learn.microsoft.com/en-us/answers/questions/1348145/azure-application-insights-not-showing-logs
Troubleshoot no data: Application Insights for .NET and .NET Core
Monitor Azure App Service
If you have any further assistance let me know.
If the answer is helpful, please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.