Reputation: 93
Trying to find any way to change Log Analytics workspace being used by Application Insights. As of now, all the data being written to the default workspace from all the subscriptions(have more than 1 subscription). Planning to create one workspace per subscription and direct the data from the correspondingly.
AD
Upvotes: 8
Views: 4758
Reputation: 962
If you are using the workspace-based Application Insights resources which is in preview currently, you can modify the associated workspace from within the Application Insights resource pane, select Properties > Change Workspace > Log Analytics Workspace. Please refer to this document for additional details.
However if you are using the Application Insights Connector Management Solution to view the Application Insights application telemetry in Log Analytics, would like to call out that the connector has been deprecated. Please refer to the process documented to remove the connector with PowerShell. Using cross-resource query you can directly query Application Insights data from Log Analytics.
Hope the above information helps, please revert back if you have any other queries. Thank you
Upvotes: 16