Forum Discussion
jknureva
Oct 01, 2021Copper Contributor
Seeking an understanding about migrating Application Insights to Log Analytics Workspace
Concerning the following: https://docs.microsoft.com/en-us/azure/azure-monitor/app/convert-classic-resource I'm looking to understand more about the impacts of migrating existing Application Insi...
jknureva
Oct 19, 2021Copper Contributor
An update. I ran a number of experiments to test the migration procedure from the classic App-Insights to the new Log Analytics Workspace way of doing things. Within a Sandbox environment I created the classic App-Insights resource, fed logs into it, performed the migration, and then fed more logs. Repeatedly, after the migration was performed there were a considerable number of logs missing from the new Workspace. Feeding brand new logs into the system, the new log entries would all appear in the classic environment but only 25% of the logs would show in the new Workspace. I ran this test multiple times to confirm the results (completely setting up a new environment every time).
We then created a brand new Azure subscription specifically to test this. Within this brand new subscription we encountered exactly the same problem again - after the migration was performed 75% of all new logs did NOT appear in the new Log Analytics Workspace, while still showing up in the classic environment. There was no clear pattern which log entries were missing (such as only info logs were missing while errors were present). It was a blanket loss of 75% of all log data. I created a support ticket with Microsoft to get help as I had run out of options. Despite the SLA saying they'd respond within 4 hours it's been nearly a week now with no response from Microsoft.
However, I discovered something else. After a few days the new Log Analytics Workspace environment appears to begin working correctly. I'm now able to feed new logs in and can see those new log entries appear in the new Workspace 100% matching the classic environment. Could it be that this problem only exists for new log entries? How long does it take before it "warms up" and functions properly after a migration is performed? I hate not being able to explain the missing log entries even if it eventually functions.
Jonathan
We then created a brand new Azure subscription specifically to test this. Within this brand new subscription we encountered exactly the same problem again - after the migration was performed 75% of all new logs did NOT appear in the new Log Analytics Workspace, while still showing up in the classic environment. There was no clear pattern which log entries were missing (such as only info logs were missing while errors were present). It was a blanket loss of 75% of all log data. I created a support ticket with Microsoft to get help as I had run out of options. Despite the SLA saying they'd respond within 4 hours it's been nearly a week now with no response from Microsoft.
However, I discovered something else. After a few days the new Log Analytics Workspace environment appears to begin working correctly. I'm now able to feed new logs in and can see those new log entries appear in the new Workspace 100% matching the classic environment. Could it be that this problem only exists for new log entries? How long does it take before it "warms up" and functions properly after a migration is performed? I hate not being able to explain the missing log entries even if it eventually functions.
Jonathan
Hari Praghash Kalyanasundaram Subramaniam
May 24, 2022Copper Contributor
jknureva Did you manage to find out if classic appinsights based dashboard, alerts, log query alerts etc were working after the migration?
- jknurevaMay 24, 2022Copper Contributor
Hari Praghash Kalyanasundaram Subramaniam
Yes, the classic content continues to work after the migration. I think this functionality will eventually be removed, but for now you can migrate to the new Log Analytics Workspace and continue to use the old interfaces, log queries, dashboards, and so on.
- salcantara2018Jan 18, 2024Copper Contributor
After migrating the workspace-based Application Insights resources to the newly created workspace (which is the default), a few days later, I decided to create a new Azure Log Analytics workspace. My question is: Will all the resources from my Application Insights still be migrated to my newly created workspace, or do I still need to migrate them from the old workspace (which is the default) to the new workspace (new)?