question

CesarCastillo-8332 avatar image
0 Votes"
CesarCastillo-8332 asked bharathn-msft answered

Send Data from a azure webapp to 2 azure application insights in two different azure subscriptions

Hello I hope you can help me.

I have a azure webapp that is basically an api programmed in dotnet core, this is connected to an azure application insights where we monitor the api, the problem I have is that only one person on my team has access to these two resources(webapp and app insights), basically the permission is a bureaucratic management that does not end resolving.

I need the data stored in the insights application to be replicated in another insights application in a new azure subscription that we already created where all team members have access.

What can I do to solve this problem?

azure-webappsazure-monitor
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@CesarCastillo-8332 - Welcome to Microsoft Q&A and thanks for your query.

To best of my knowledge there isn't any out of box way to replicate from one Application insights instance to another, one of the possibility is to explore Workspace-based Application Insights resources , however this might incur some cost based on where you are hosting the Log Analytics work space and also in your case you might have to figure out the permissions needed to send logs from more restricted subscription to a less restricted subscription.

Approach to use Workspace based Application insights might force to create new Application Insights instance and also have your web app to point to it.

I am also validating this with our internal team in case if there are any other possibilities, will keep you updated as I hear more information.

Hope this information helps. Thank you



0 Votes 0 ·

@CesarCastillo-8332 - I did hear back from our team and has been called out that there is no supported way to do this. Please be aware that migrating to a workspace-based resource will not replicate all the existing data. Only new data starts flowing to the new Log Analytics resource, and the old data remains in the old Application Insights resource.

Hope this information helps. Please feel free to revert back if you have further queries. Thank you

0 Votes 0 ·

1 Answer

bharathn-msft avatar image
0 Votes"
bharathn-msft answered

@CesarCastillo-8332 - Thanks again for your query and using Microsoft Q&A Platform.

Resurfacing the information from the comments here for broader community usage.

There isn't any supported way to replicate from one Application insights instance to another, one of the possibility is to explore Workspace-based Application Insights resources , however this might incur some cost based on where you are hosting the Log Analytics work space and also in your case you might have to figure out the permissions needed to send logs from more restricted subscription to a less restricted subscription. Please be aware that migrating to a workspace-based resource will not replicate all the existing data. Only new data starts flowing to the new Log Analytics resource, and the old data remains in the old Application Insights resource.

Approach to use Workspace based Application insights might force to create new Application Insights instance and also have your web app point to it.

Hope this information helps, please feel free to revert back if you have any further queries.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.