OMS和Azure函数链接 [英] OMS and Azure Functions Link

查看:121
本文介绍了OMS和Azure函数链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

We are trying to connect Azure Functions with OMS. So far, we could not find any direct link with OMS and Azure Function. Is it correct to assume that?

我们发现的一种解决方法是将Azure Function数据记录到Application Insights并将Application Insight与OMS连接.我们希望通过ARM模板或PowerShell来执行此操作.这样做的正确方法是什么?如果有人有任何帮助,那将是真正的帮助 示例脚本.

One workaround we found is to log Azure Function data to Application Insights and connect the Application Insight with OMS. We want to do this via ARM Template or PowerShell. What is the correct approach to do this? It would be real help if anybody has any sample script for this.

我们已经尝试了以下步骤,但没有成功.

We've tried the below steps but it did not work.

  1. 通过Set-AzureRmOperationalInsightsIntelligencePack powershell命令添加了"ApplicationInsight"解决方案,但仍需要更多配置才能将应用程序见解与OMS链接起来.我们找不到任何执行此操作的命令.
  1. Added 'ApplicationInsight' solution through Set-AzureRmOperationalInsightsIntelligencePack powershell command but it still requires more configuration to link the application insights with OMS. We could not find any command to do that.

尝试在ARM模板中使用"Microsoft.OperationsManagement/解决方案"类型,但此方法不起作用.

Tried 'Microsoft.OperationsManagement/solutions' type in ARM template but it did not work.

We are stuck with this and it is becoming a showstopper issue. Can anyone please help us out?

推荐答案

你好,

似乎已不建议使用Application Insights Connector解决方案,这是您尝试使用的解决方案吗?

It looks like the Application Insights Connector solution is being deprecated, is this the solution you were trying to use:

https://docs.microsoft.com/zh-CN/azure/log-analytics/log-analytics-app-insights-connector

https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-app-insights-connector

页面顶部的注释指的是跨Application Insights和Log Analytics的新的跨资源查询功能:

The note at the top of the page refers to the new cross-resource query functionality across Application Insights and Log Analytics:

https://docs.microsoft.com/zh-CN/azure/log-analytics/log-analytics-cross-workspace-search

https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-cross-workspace-search

能否从Log Analytics中查询您的Application Insights应用程序来解决您的问题?

Would being able to query your Application Insights app from within Log Analytics solve your problem?


这篇关于OMS和Azure函数链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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