Error setting up Azure Function within Azure Resource under Log Analytics Workspace

[亡魂溺海] 提交于 2019-12-02 08:59:54

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

So application insights is a better choice for monitoring azure function.

The following is the feedback from MS log analytics team:

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.

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.

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.

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.

I would recommend using Application insight with Azure Functions. Application insights has deeper integration with Azure Functions and is the recommended way of setting up Analytics for your app. Is there a specific reason you want to setup through Log Analytics instead of Application Insights?

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!