在Log Analytics Workspace下的Azure资源内设置Azure功能时出错 [英] Error setting up Azure Function within Azure Resource under Log Analytics Workspace

查看:157
本文介绍了在Log Analytics Workspace下的Azure资源内设置Azure功能时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Log Analytics Workspace下的Azure资源中设置Azure功能时出错.

I have error setting up Azure Function within Azure Resource under Log Analytics Workspace.

仅选中AllMetrics时,它起作用.但每当FunctionExecutionLogs被选中时,会出现类似下面错误:

When only AllMetrics is checked, it works. But whenever FunctionExecutionLogs is checked, error occurs like below:

1.导航到Azure门户中的日志分析工作区.

1.Nav to your log analytics workspace in azure portal.

2.在左侧刀片中,选择工作区数据源"->"Azure资源",然后在此处单击您的azure函数.

2.in the left blade, select Workspace Data Sources -> Azure Resources, then click your azure function there.

  1. 检查FunctionExecutionLogs并发生错误.

有什么主意吗?

设置带有Azure功能的Azure Log Analytics使用的数据

更新

我们想了解有关Application InSights和Log Analytics的更多信息,并为我们使用最佳工具.

We would like to understand more on Application InSights and Log Analytics, and use the best tool for us.

推荐答案

在Azure日志分析中,用于Azure函数/Web应用程序的'FunctionExecutionLogs'将不再受支持.

'FunctionExecutionLogs' for azure function/web app in azure log analytics will not be supported any more.

因此,应用洞察力是监视天蓝色功能的更好选择.

以下是来自MS日志分析团队的反馈:

The following is the feedback from MS log analytics team:

几个月前,App Service/Functions团队加入了Azure Monitor诊断日志,但实际上并没有发出日志数据.

Several months ago, App Service/Functions team on-boarded to Azure Monitor diagnostic logs but they don't actually emit log data.

基本上,有成千上万的诊断设置注册是无操作的,实际上不执行任何操作.

Basically there are thousands of diagnostic setting registrations which are no-ops and don't actually do anything.

最近几周来,我们一直在与App Service进行讨论,以在接下来的几周内发布此功能作为私有预览功能.

Recently in the past few weeks, we've been in discussion with App Service to release this feature in the next few weeks as a private preview feature.

不幸的是,这是一项重大更改,因为只有私人预览版客户才能打开App Service的诊断日志. 请注意-不会对客户产生实际影响,因为以前打开过的客户从未尝试过.

This unfortunately is a breaking change as only private preview customers can turn on diagnostic logs for App Service. Please note -- There is no actual customer impact as whatever customers turned on previously never worked to begin with.

要修复部署脚本,我们应该要求客户更新其模板以仅打开度量标准导出而不是日志-这不会对客户产生任何实际影响.

To fix the deployment script, we should ask customers to update their template to only turn on metric export and not logs --- this won't have any actual customer impact.

因此,从我们的Log Analytics(分析)方面来看,这是我们的Log Analytics(分析)团队不再支持的情况,而我们的Production Group(生产小组)已经宣布了这一点.

So, from our Log Analytics side, this is a scenario we are not support from our Log Analytics team which has declared by our Production Group any more.

这篇关于在Log Analytics Workspace下的Azure资源内设置Azure功能时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆