以任何方式查找和更改 Application Insights 使用的 Log Analytics 工作区

any way to find & change which Log Analytics workspace being used by Application Insights

正在尝试寻找任何方法来更改 Application Insights 使用的 Log Analytics 工作区。截至目前,所有订阅中的所有数据都被写入默认工作区(订阅超过 1 个)。计划为每个订阅创建一个工作区,并从相应的目录中定向数据。

AD

如果您使用 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 文档了解更多详细信息。

但是,如果您正在使用 Application Insights 连接器管理解决方案在 Log Analytics 中查看 Application Insights 应用程序遥测,想调出连接器已 deprecated. Please refer to the process documented to remove the connector with PowerShell. Using cross-resource query 您可以直接从中查询 Application Insights 数据日志分析。

希望以上信息对您有所帮助,如有其他疑问,请回复。谢谢