I want to visualize logs in OMS(Log analytics workspace). I was able to push logs from local machine to AI in azure using the telemetry configuration. Ho do I push the same from AI to OMS(Log analytics workspace) in azure. (AI - azure application insights)
Asked
Active
Viewed 77 times
0
-
Isn't OMS [depricated](https://learn.microsoft.com/en-us/azure/azure-monitor/platform/oms-portal-transition)? What is it you want to really do? – Peter Bons Oct 21 '20 at 10:10
-
See also https://learn.microsoft.com/en-us/azure/azure-monitor/platform/oms-portal-transition#application-insights-connector-and-solution – Peter Bons Oct 21 '20 at 10:11
-
By OMS I meant Log Analytics workspace. – raj mahalawat Oct 22 '20 at 04:04
-
If any of the answers below give you an adequate answer please [upvote and/or accept the answer](https://stackoverflow.com/help/someone-answers). – Peter Bons Oct 26 '20 at 06:52
2 Answers
0
You do not need to push it to Log Analytics, you can query directly, and use the result for visualization using the app expression:
app("name-of-your-ai-resource").requests
| order by timestamp desc
| project timestamp, url, resultCode
Or you convert your Application Insights to use a Log Analytics Workspace for storage directly as KrishnaG-MSFT suggests. There is a conversion guide for that, found here.
Be aware though:
Choosing to migrate will instead change the location where new data is written to a Log Analytics workspace while preserving access to your classic resource data.
And do mind, you can create rich, interactive visualizations in App Insigths directly using workbooks.

Peter Bons
- 26,826
- 4
- 50
- 74