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)

2

There are 2 answers

0
KrishnaG On

If you meant OMS as Log Analytics workspace then this might help you.

enter image description here

0
Peter Bons On

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.