Share via

Having Difficulty Streaming Data to Application Insights after Converting to Logs Analytics Workspace

Moe Saxton 0 Reputation points
2023-07-27T18:31:59.9133333+00:00

So part of this issue is my fault. As you may know, Application Insights is shifting towards using Log Analytics Workspace and the conversion to that is two simple clicks. I have an App Service with active Application Insights. I navigated there, clicked the notice message at the top, and the panel on the right appeared. Right as I clicked create, I realized that the name of the Log Analytics Workspace was a default, auto-generated name that didn't match our naming convention.

My mistake was that I deleted that Log Analytics and tried to recreate another one with the proper naming convention. That is when I realized that when converting Application Insights to use a Workspace, you either have to use one already created within Log Analytics Workspace, or it will auto-generate a new one with a default name. If it is creating a default one, you cannot set the name yourself. I ended up making the second default-named Workspace (and I did not delete it). I then recovered the original one from the Recycling Bin and tried to relink it.

To fast forward a bit, the Application Insights for my App Service is configured to use that second Workspace created. All the data from the original workspace transferred to the second one and that second one is ingesting new data from the App Service (it seems to auto-transfer when you swap out the linked Workspace). The problem now is that the data isn't feeding into Application Insights. Again, the Workspace is still ingesting data. I met with a colleague to troubleshoot it and we made sure App Insights was configured properly. We went through MS guides, forums, checked every setting we could find yet it still isn't feeding. Specifically, we made sure in App Insights ==> Properties at the very bottom has the correct Workspace attached, as well as trying one solution using Diagnostic Settings. Does anyone have any suggestions on how I can get the data to feed into App Insights?

Azure Monitor
Azure Monitor

An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.