【APIM】启用APIM Analytics时遇见Request failed错误

本文涉及的产品
应用实时监控服务-用户体验监控,每月100OCU免费额度
Serverless 应用引擎免费试用套餐包,4320000 CU,有效期3个月
可观测可视化 Grafana 版,10个用户账号 1个月
简介: Data collection is required for detailed monitoring, custom dashboards, and more. A Log Analytics workspace is also required for the data storage. You can change the workspace destination at any time in Diagnostic settings. How do I use Log Analytics?

问题描述

在APIM页面,查看Analytics的时候显示没有启用数据收集,无法分析。

Collect data from this resource for analytics

Data collection is required for detailed monitoring, custom dashboards, and more. A Log Analytics workspace is also required for the data storage. You can change the workspace destination at any time in Diagnostic settings. How do I use Log Analytics?

但是,根据页面提示,启用时发出的请求失败。

错误信息

{
"error": {
"code": "LinkedInvalidPropertyId",
"message": "Property id '' at path 'properties.workspaceId' is invalid. 
Expect fully qualified resource Id that start with 
'/subscriptions/{subscriptionId}' 
or 
'/providers/{resourceProviderNamespace}/'."
}
}

问题解答

因为这个错误是Azure门户上错误,无法被用户操作,所以从Analytics页面中,无法实现配置Log A Workspce的问题。但是可以在另一个地方【 Diagnostic settings (诊断设置)】中完成数据收集并且用于Analytics。

 

第一步:进入 Diagnostic settings ,点击添加 Diagnostic Setting

第二步:选择全部的 Logs 和 Metrics,并把信息保存到目标Log A Workspace中

第三步:自定义一个名称(任意字符串即可),保存后。回到Analytics页面。成功!

 

配置完成后,Analytics页面效果:

 




当在复杂的环境中面临问题,格物之道需:浊而静之徐清,安以动之徐生。 云中,恰是如此!

相关文章
|
7月前
|
Java 网络安全 Maven
简记:一个flutter构建错误A problem occurred configuring project ‘:smart_auth‘. > Could not res
简记:一个flutter构建错误A problem occurred configuring project ‘:smart_auth‘. > Could not res
420 0
|
Java
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
1134 0
Appium问题解决方案(8)- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not sign with default certificate.
|
4月前
|
API
【Azure APIM】调用APIM的备份接口时候遇见Authentication Failed错误
【Azure APIM】调用APIM的备份接口时候遇见Authentication Failed错误
|
4月前
|
存储 API 网络安全
【Azure APIM】调用APIM的备份接口时候遇见InvalidParameters错误
【Azure APIM】调用APIM的备份接口时候遇见InvalidParameters错误
|
4月前
|
Python
【Azure 应用服务】Azure Function HTTP Trigger 遇见奇妙的500 Internal Server Error: Failed to forward request to http://169.254.130.x
【Azure 应用服务】Azure Function HTTP Trigger 遇见奇妙的500 Internal Server Error: Failed to forward request to http://169.254.130.x
|
7月前
|
Java
failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code
failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code
127 0
|
前端开发 Windows
前端项目实战拾肆-window上‘PORT‘ is not recognized as an internal or external command
前端项目实战拾肆-window上‘PORT‘ is not recognized as an internal or external command
87 0
|
SQL 存储 安全
SQL Agent Job 报“Access to the remote server is denied because the current security context is not trusted”
SQL Server 2005(Microsoft SQL Server 2005 - 9.00.5000.00)下的一个作业执行一个存储过程,存储过程中动态SQL语句使用链接服务器(Linked Servers),从另外一台SQL Server服务器获取数据。
1371 0