带有Azure功能的Azure Log Analytics使用的设置数据 [英] Setup data used by Azure Log Analytics with Azure Fucntions

查看:146
本文介绍了带有Azure功能的Azure Log Analytics使用的设置数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对使用Azure功能进行Azure日志分析设置数据有疑问。

I have questions on setting up data used Azure Log Analytics for Azure Functions.

我看不到与设置Log Analytics有关的选项或在Azure中查看有关它的信息函数。

I cannot see options related to setting up Log Analytics or see information about it within Azure Functions.

但是我可以打开Log Analytics并在其中输入查询以返回数据。

But I can open Log Analytics where I can enter query to return data.

我创建了一个Log Analytics Workspace,但不确定是否对使用Log Analytics的Azure功能有用。

I created a Log Analytics Workspace, but am not sure if it is useful for Azure Functions with Log Analytics.

问题

1默认情况下,Log Analytics所基于的数据是什么?

1 What data is Log Analytics based on by default?

2我是否需要指定或打开Log Analytics所基于的日志数据

2 Do I need to specify or turn on the logging data Log Analytics is based on?

简单地说,如何使用Azure函数设置Log Analytics。

Put it simply, how to setup for Log Analytics with Azure Functions.

推荐答案

Microsoft建议使用Application Insights监视功能。

Microsoft recommends Application Insights for monitoring functions.

但是如果您继续使用日志分析,则可以按照以下步骤操作:

But if you persist using Log analytics, you can follow the steps below:

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

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

2。在左侧刀片中,选择 Workspace数据源-> Azure资源,然后在此处单击您的azure函数。

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

3。在新页面中,填写必填字段。

3.In the new page, fill in the necessary field.

这篇关于带有Azure功能的Azure Log Analytics使用的设置数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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